We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e72981 commit effa8c4Copy full SHA for effa8c4
build_system/build_sysroot.rs
@@ -240,7 +240,8 @@ fn build_clif_sysroot_for_triple(
240
rustflags
241
.push_str(&format!(" --sysroot={}", RTSTARTUP_SYSROOT.to_path(dirs).to_str().unwrap()));
242
if channel == "release" {
243
- rustflags.push_str(" -Zmir-opt-level=3");
+ // FIXME switch back to 3 once https://github.com/rust-lang/rust/issues/108166 is fixed
244
+ rustflags.push_str(" -Zmir-opt-level=2");
245
}
246
compiler.rustflags += &rustflags;
247
let mut build_cmd = STANDARD_LIBRARY.build(&compiler, dirs);
0 commit comments