File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 55set -e
66cd $( dirname " $0 " )
77
8+ if [ -z $CHANNEL ]; then
9+ export CHANNEL=' release'
10+ fi
11+
812pushd ../ > /dev/null
913source ./scripts/config.sh
1014popd > /dev/null
@@ -24,7 +28,7 @@ export RUSTFLAGS=$RUSTFLAGS" --clif"
2428
2529# Build libs
2630export RUSTFLAGS=" $RUSTFLAGS -Zforce-unstable-if-unmarked -Cpanic=abort"
27- if [[ " $1 " == " --release " ]]; then
31+ if [[ " $1 " != " --debug " ]]; then
2832 sysroot_channel=' release'
2933 # FIXME Enable incremental again once rust-lang/rust#74946 is fixed
3034 # FIXME Enable -Zmir-opt-level=2 again once it doesn't ice anymore
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ rm -r target/out || true
2222no_sysroot_tests
2323
2424echo " [BUILD] sysroot"
25- time ./build_sysroot/build_sysroot.sh --release
25+ time ./build_sysroot/build_sysroot.sh
2626
2727base_sysroot_tests
2828
You can’t perform that action at this time.
0 commit comments