Skip to content

Commit 3fff507

Browse files
authored
Merge pull request #261 from volcano0dr/master
Fix no-landing-pads error
2 parents 3eeaf9a + 56c5993 commit 3fff507

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samplecode/sgx-cov/enclave/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ifneq ($(COV),) # Debug build + coverage collection
2929
COV_FLAGS = CARGO_INCREMENTAL=0 \
3030
RUSTFLAGS="-D warnings -Zprofile -Ccodegen-units=1 \
3131
-Cllvm_args=-inline-threshold=0 -Clink-dead-code \
32-
-Coverflow-checks=off -Zno-landing-pads"
32+
-Coverflow-checks=off -Cpanic=abort"
3333

3434
WRAPPER = "./enclave-cov-rustc"
3535
endif

samplecode/sgx-cov/enclave/enclave-cov-rustc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
COV_RUSTFLAGS="-Zprofile -Ccodegen-units=1 \
44
-Cllvm_args=-inline-threshold=0 -Clink-dead-code \
5-
-Coverflow-checks=off -Zno-landing-pads"
5+
-Coverflow-checks=off -Cpanic=abort"
66

77
get_crate_name()
88
{

0 commit comments

Comments
 (0)