about summary refs log tree commit diff
path: root/library/compiler-builtins/ci/run.sh
diff options
context:
space:
mode:
authorPaolo Teti <paolo.teti@gmail.com>2018-02-25 01:11:49 +0100
committerPaolo Teti <paolo.teti@gmail.com>2018-02-25 01:11:49 +0100
commit81356ccde422207be4921bc72fc5cd5f61bec5ec (patch)
tree756faae362e88d48228f741ce0719717951be65e /library/compiler-builtins/ci/run.sh
parentef48c1984b78a2b65c593d6fca20dcc77615c454 (diff)
downloadrust-81356ccde422207be4921bc72fc5cd5f61bec5ec.tar.gz
rust-81356ccde422207be4921bc72fc5cd5f61bec5ec.zip
Keep mangled-names as a default feature
Diffstat (limited to 'library/compiler-builtins/ci/run.sh')
-rwxr-xr-xlibrary/compiler-builtins/ci/run.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/library/compiler-builtins/ci/run.sh b/library/compiler-builtins/ci/run.sh
index 3196400f153..8ce706c2815 100755
--- a/library/compiler-builtins/ci/run.sh
+++ b/library/compiler-builtins/ci/run.sh
@@ -30,7 +30,8 @@ case $1 in
 
             RUSTFLAGS="-C debug-assertions=no -C lto" \
             CARGO_INCREMENTAL=0 \
-              $run --test $t --features 'no_std mem c' --no-run
+              $run --test $t --no-default-features \
+                   --features 'no_std mem c' --no-run
             qemu-arm-static target/${1}/debug/$t-*
 	done
 
@@ -38,16 +39,17 @@ case $1 in
             t=${t%.rs}
             RUSTFLAGS="-C lto" \
             CARGO_INCREMENTAL=0 \
-              $run --test $t --features 'no_std mem c' --no-run --release
+              $run --test $t --no-default-features \
+                   --features 'no_std mem c' --no-run --release
             qemu-arm-static target/${1}/release/$t-*
         done
         ;;
     *)
         run="cargo test --manifest-path testcrate/Cargo.toml --target $1"
-        $run --features mangled-names
-        $run --features mangled-names --release
-        $run --features 'mangled-names c'
-        $run --features 'mangled-names c' --release
+        $run
+        $run --release
+        $run --features c
+        $run --features c --release
         ;;
 esac