x.py: codegen-units-std = 0 not supported #57669
Labels
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
Trying to compile rustc with
codegen-units-std = 0
inconfig.toml
fails with the following error:The
codegen-units-std
option isn't treated the same as thecodegen-units
option 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.
The text was updated successfully, but these errors were encountered: