Skip to content

Conversation

@ANtutov
Copy link

@ANtutov ANtutov commented Dec 11, 2025

The create2 subcommand documented -j0/--threads=0 as defaulting to the number of logical cores, but the implementation passed 0 through and ended up with n_threads = 0, spawning no workers and panicking when unwrapping the first result.
This change keeps the existing default of available_parallelism() and only applies the user-specified limit when threads > 0. As a result, -j0 now behaves as documented, while positive values still cap the number of worker threads without changing any other behavior.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant