Bootstrap ignores unknown values for codegen-backends #142184
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
rust/src/bootstrap/src/core/config/toml/rust.rs
Lines 576 to 592 in 2f2c8c3
If the value does not start with CODEGEN_BACKEND_PREFIX, it is just not validated at all.
So it means that typing
gccc
instead ofgcc
will cause no warning or error to be shown andgcc
backend not actually being enabled.Same issue for target-specific codegen options.
The text was updated successfully, but these errors were encountered: