diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-30 21:26:37 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-01-30 21:26:37 +0100 |
| commit | 84f24e530a0f2359916db4b6e2f47ca52df42994 (patch) | |
| tree | 0e8bc5f6e930c111d159b6a00ac18c6965c18d5f | |
| parent | 7657ebccc86fc6ac18f8fdd79987050a71523b0a (diff) | |
| download | rust-84f24e530a0f2359916db4b6e2f47ca52df42994.tar.gz rust-84f24e530a0f2359916db4b6e2f47ca52df42994.zip | |
Re-enable mir inlining for the sysroot
| -rwxr-xr-x | build_sysroot/build_sysroot.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh index 3d0a94ad3cb..ad2796f2e37 100755 --- a/build_sysroot/build_sysroot.sh +++ b/build_sysroot/build_sysroot.sh @@ -29,8 +29,7 @@ export __CARGO_DEFAULT_LIB_METADATA="cg_clif" if [[ "$1" != "--debug" ]]; then sysroot_channel='release' # FIXME Enable incremental again once rust-lang/rust#74946 is fixed - # FIXME Enable -Zmir-opt-level=2 again once it doesn't ice anymore - CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS" cargo build --target "$TARGET_TRIPLE" --release + CARGO_INCREMENTAL=0 RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=2" cargo build --target "$TARGET_TRIPLE" --release else sysroot_channel='debug' cargo build --target "$TARGET_TRIPLE" |
