Skip to content

Commit c970c34

Browse files
committed
Fix no-landing-pad ci error
Follow issue rust-lang/rust#70175
1 parent eec927f commit c970c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/run-cov

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash -e
22

33
for path in /usr/lib/llvm-3.9/lib/clang/3.9.[0-9]/lib/linux/; do LLVM_PATH=$path; done
4-
export OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Zno-landing-pads -L$LLVM_PATH -lclang_rt.profile-x86_64"
5-
export COVERAGE_OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Cpasses=insert-gcov-profiling -Zno-landing-pads -L$LLVM_PATH -lclang_rt.profile-x86_64"
4+
export OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -C panic=abort -L$LLVM_PATH -lclang_rt.profile-x86_64"
5+
export COVERAGE_OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Cpasses=insert-gcov-profiling -C panic=abort -L$LLVM_PATH -lclang_rt.profile-x86_64"
66
export CARGO_INCREMENTAL=0
77

88
LCOVOPT="--gcov-tool ./ci/llvm-gcov --rc lcov_branch_coverage=1 --rc lcov_excl_line=assert"

0 commit comments

Comments
 (0)