Remove most of the logic in fake rustc once -Ztarget-applies-to-host=true
lands
#94556
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
rust-lang/cargo#10395 made it possible to apply RUSTFLAGS to build scripts and proc-macros. Bootstrap currently special-cases this in fake rustc:
rust/src/bootstrap/bin/rustc.rs
Lines 110 to 135 in 06460fe
We should switch to using
-Ztarget-applies-to-host=true
on the next cargo update.cc @Mark-Simulacrum @ehuss @jonhoo (thank you again @jonhoo for fixing this! ❤️)
@rustbot label: +A-rustbuild +C-enhancement
The text was updated successfully, but these errors were encountered: