Skip to content

Commit 84f24e5

Browse files
committed
Re-enable mir inlining for the sysroot
1 parent 7657ebc commit 84f24e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build_sysroot/build_sysroot.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export __CARGO_DEFAULT_LIB_METADATA="cg_clif"
2929
if [[ "$1" != "--debug" ]]; then
3030
sysroot_channel='release'
3131
# FIXME Enable incremental again once rust-lang/rust#74946 is fixed
32-
# FIXME Enable -Zmir-opt-level=2 again once it doesn't ice anymore
33-
CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS" cargo build --target "$TARGET_TRIPLE" --release
32+
CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=2" cargo build --target "$TARGET_TRIPLE" --release
3433
else
3534
sysroot_channel='debug'
3635
cargo build --target "$TARGET_TRIPLE"

0 commit comments

Comments
 (0)