-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
x.py: codegen-units-std = 0 not supported #57669
Copy link
Copy link
Closed
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Trying to compile rustc with
codegen-units-std = 0inconfig.tomlfails with the following error:The
codegen-units-stdoption isn't treated the same as thecodegen-unitsoption in the bootstrap'sconfig.rs.Is this intentional? Should I submit a PR to support
codegen-units-std = 0?If this is intentional, then I think an error should be raised as soon as the option is read rather than having the generic "Value for codegen units must be a positive nonzero integer" later.