about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-03-31 11:39:03 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-03-31 12:16:33 +0200
commitafe74d71e4c2f08696ade0de321a45f7442440d8 (patch)
tree9591c83a1c0fe521204488e3d25c00e2d6ab03d6 /scripts
parent5417278438efa00231936bfef3800e75a992f32f (diff)
downloadrust-afe74d71e4c2f08696ade0de321a45f7442440d8.tar.gz
rust-afe74d71e4c2f08696ade0de321a45f7442440d8.zip
Build with `-Cpanic=unwind` by default
This doesn't enable unwinding as cg_clif doesn't support it yet. It does
allow for linking to a cg_llvm compiled libstd.so, which uses
`-Cpanic=unwind`.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 3afcea8f06b..05139c185f2 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -61,11 +61,11 @@ function base_sysroot_tests() {
     $RUN_WRAPPER ./target/out/std_example arg
 
     echo "[AOT] subslice-patterns-const-eval"
-    $MY_RUSTC example/subslice-patterns-const-eval.rs --crate-type bin -Cpanic=abort --target "$TARGET_TRIPLE"
+    $MY_RUSTC example/subslice-patterns-const-eval.rs --crate-type bin --target "$TARGET_TRIPLE"
     $RUN_WRAPPER ./target/out/subslice-patterns-const-eval
 
     echo "[AOT] track-caller-attribute"
-    $MY_RUSTC example/track-caller-attribute.rs --crate-type bin -Cpanic=abort --target "$TARGET_TRIPLE"
+    $MY_RUSTC example/track-caller-attribute.rs --crate-type bin --target "$TARGET_TRIPLE"
     $RUN_WRAPPER ./target/out/track-caller-attribute
 
     echo "[AOT] mod_bench"