diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 575cbc3beb2e7..af4f0abc64b5a 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1403,6 +1403,7 @@ impl<'a> Builder<'a> { cargo.args(s.split_whitespace()); } rustflags.env("RUSTFLAGS_NOT_BOOTSTRAP"); + rustflags.arg("-Zbox-noalias=no"); } else { if let Ok(s) = env::var("CARGOFLAGS_BOOTSTRAP") { cargo.args(s.split_whitespace());