Skip to content
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

./x.py -j1 not honored #68028

Closed
matthiaskrgr opened this issue Jan 8, 2020 · 1 comment
Closed

./x.py -j1 not honored #68028

matthiaskrgr opened this issue Jan 8, 2020 · 1 comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Jan 8, 2020

I can observed ./x.py build -j1 launching 4 threads to build a crate instead of 1 as specified by -j1 for example while building proc_macro while Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu).

Perhaps this is related to rust-lang/cargo#7689 ?

repo @ ed6468d

@jonas-schievink jonas-schievink added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jan 8, 2020
@Mark-Simulacrum
Copy link
Member

Yeah, I'm going to close this as an upstream bug, there's no threading that we manage ourselves, everything is forked out to Cargo.

(And based on that it sounds like cc or so might actually be at fault here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

3 participants