You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by di...@apache.org on 2020/08/03 18:25:39 UTC
[incubator-teaclave-sgx-sdk] branch master updated: Fix
no-landing-pads error
This is an automated email from the ASF dual-hosted git repository.
dingyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git
The following commit(s) were added to refs/heads/master by this push:
new 56c5993 Fix no-landing-pads error
new 3fff507 Merge pull request #261 from volcano0dr/master
56c5993 is described below
commit 56c599380785cea9af88f4971fb8f82338088db5
Author: volcano <vo...@163.com>
AuthorDate: Mon Aug 3 19:28:20 2020 +0800
Fix no-landing-pads error
---
samplecode/sgx-cov/enclave/Makefile | 2 +-
samplecode/sgx-cov/enclave/enclave-cov-rustc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samplecode/sgx-cov/enclave/Makefile b/samplecode/sgx-cov/enclave/Makefile
index d5fc3a7..30816cb 100644
--- a/samplecode/sgx-cov/enclave/Makefile
+++ b/samplecode/sgx-cov/enclave/Makefile
@@ -29,7 +29,7 @@ ifneq ($(COV),) # Debug build + coverage collection
COV_FLAGS = CARGO_INCREMENTAL=0 \
RUSTFLAGS="-D warnings -Zprofile -Ccodegen-units=1 \
-Cllvm_args=-inline-threshold=0 -Clink-dead-code \
- -Coverflow-checks=off -Zno-landing-pads"
+ -Coverflow-checks=off -Cpanic=abort"
WRAPPER = "./enclave-cov-rustc"
endif
diff --git a/samplecode/sgx-cov/enclave/enclave-cov-rustc b/samplecode/sgx-cov/enclave/enclave-cov-rustc
index 0e9a9a2..5858fc4 100755
--- a/samplecode/sgx-cov/enclave/enclave-cov-rustc
+++ b/samplecode/sgx-cov/enclave/enclave-cov-rustc
@@ -2,7 +2,7 @@
COV_RUSTFLAGS="-Zprofile -Ccodegen-units=1 \
-Cllvm_args=-inline-threshold=0 -Clink-dead-code \
- -Coverflow-checks=off -Zno-landing-pads"
+ -Coverflow-checks=off -Cpanic=abort"
get_crate_name()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org