Skip to content

Commit aea3bd6

Browse files
committed
Re-enable DataflowConstProp for standard library builds
1 parent 91979e0 commit aea3bd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build_system/build_sysroot.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@ fn build_clif_sysroot_for_triple(
242242
rustflags
243243
.push_str(&format!(" --sysroot={}", RTSTARTUP_SYSROOT.to_path(dirs).to_str().unwrap()));
244244
if channel == "release" {
245-
// FIXME re-enable DataflowConstProp once rust-lang/rust#108166 is fixed
246-
rustflags.push_str(" -Zmir-opt-level=3 -Zmir-enable-passes=-DataflowConstProp");
245+
rustflags.push_str(" -Zmir-opt-level=3");
247246
}
248247
compiler.rustflags += &rustflags;
249248
let mut build_cmd = STANDARD_LIBRARY.build(&compiler, dirs);

0 commit comments

Comments
 (0)