Skip to content

Commit 6b58ed2

Browse files
committed
Adjust for changed -Zmir-opt-level numbering
1 parent 8718748 commit 6b58ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_sysroot/build_sysroot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export __CARGO_DEFAULT_LIB_METADATA="cg_clif"
2828
if [[ "$1" != "--debug" ]]; then
2929
sysroot_channel='release'
3030
# FIXME Enable incremental again once rust-lang/rust#74946 is fixed
31-
CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=2" cargo build --target "$TARGET_TRIPLE" --release
31+
CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=3" cargo build --target "$TARGET_TRIPLE" --release
3232
else
3333
sysroot_channel='debug'
3434
cargo build --target "$TARGET_TRIPLE"

0 commit comments

Comments
 (0)