diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-03-31 11:39:03 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-03-31 12:16:33 +0200 |
| commit | afe74d71e4c2f08696ade0de321a45f7442440d8 (patch) | |
| tree | 9591c83a1c0fe521204488e3d25c00e2d6ab03d6 /scripts | |
| parent | 5417278438efa00231936bfef3800e75a992f32f (diff) | |
| download | rust-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-x | scripts/tests.sh | 4 |
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" |
