This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new 68de58b  [cmake] Remove -Zno-landing-pads in RUSTFLAGS for coverage 
(#331)
68de58b is described below

commit 68de58bbe428140c4bdf2d6c087a96153e0ef9c9
Author: Mingshen Sun <[email protected]>
AuthorDate: Tue Jun 2 16:05:17 2020 -0700

    [cmake] Remove -Zno-landing-pads in RUSTFLAGS for coverage (#331)
    
    This will cause failure of catch_unwind in current toolchain.
---
 cmake/TeaclaveGenVars.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/TeaclaveGenVars.cmake b/cmake/TeaclaveGenVars.cmake
index d50c3b2..006af9a 100644
--- a/cmake/TeaclaveGenVars.cmake
+++ b/cmake/TeaclaveGenVars.cmake
@@ -77,7 +77,7 @@ else()
     set(SGX_ENCLAVE_FEATURES -Z package-features --features "mesalock_sgx cov")
     set(CARGO_INCREMENTAL 0)
     set(RUSTFLAGS "${RUSTFLAGS} -D warnings -Zprofile -Ccodegen-units=1 \
--Cllvm_args=-inline-threshold=0 -Coverflow-checks=off -Zno-landing-pads")
+-Cllvm_args=-inline-threshold=0 -Coverflow-checks=off")
   endif()
 endif()
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to