-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo seems to start several build jobs with -j1 (but doesn't?) #7689
Comments
This is normal for build scripts that use the I haven't (yet) been able to reproduce it actually spawning multiple One possibility is to alleviate the |
It turned out that the problem of niceness and |
I agree that part of this is definitely a bug in the |
I believe this issue also leads to misleading |
Problem
When building cargo itself with
cargo build -j1
, it looks like it compiles several crates at once sometimes, ignoring my-j1
directive, according to the compile progress output:Looking at
htop
, it does not seem that more than 1 thread is cpu-intensive though.Steps
cargo build -j1
in the cargo repoNotes
Output of
cargo version
:cargo 1.41.0-nightly (626f0f40e 2019-12-03)
linux
5.3.12-1-MANJARO
The text was updated successfully, but these errors were encountered: