Closed
Description
This was added in #113948:
rust/src/bootstrap/src/core/builder.rs
Lines 2100 to 2105 in bf86c4f
The issue is, this is a Cargo
instance, that has a separate rustflags
field. So the RUSTFLAGS env var will be overwritten when this is turned into a Command
. (Unfortunately that conversion does not have a sanity check that would notice a RUSTFLAGS value getting lost.)
Cc @rust-lang/bootstrap