File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
set -e
6
6
cd $( dirname " $0 " )
7
7
8
+ if [ -z $CHANNEL ]; then
9
+ export CHANNEL=' release'
10
+ fi
11
+
8
12
pushd ../ > /dev/null
9
13
source ./scripts/config.sh
10
14
popd > /dev/null
@@ -24,7 +28,7 @@ export RUSTFLAGS=$RUSTFLAGS" --clif"
24
28
25
29
# Build libs
26
30
export RUSTFLAGS=" $RUSTFLAGS -Zforce-unstable-if-unmarked -Cpanic=abort"
27
- if [[ " $1 " == " --release " ]]; then
31
+ if [[ " $1 " != " --debug " ]]; then
28
32
sysroot_channel=' release'
29
33
# FIXME Enable incremental again once rust-lang/rust#74946 is fixed
30
34
# 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
22
22
no_sysroot_tests
23
23
24
24
echo " [BUILD] sysroot"
25
- time ./build_sysroot/build_sysroot.sh --release
25
+ time ./build_sysroot/build_sysroot.sh
26
26
27
27
base_sysroot_tests
28
28
You can’t perform that action at this time.
0 commit comments