]> git.lizzy.rs Git - rust.git/blobdiff - src/libunwind/lib.rs
Add x86_64-fortanix-unknown-sgx target to libstd and dependencies
[rust.git] / src / libunwind / lib.rs
index 954eb9d6d03ba81b27c0ed6ed92ca2d0d85e11de..eb53332ab3302f7c394d52e86b7d9ddfc3f037d6 100644 (file)
 cfg_if! {
     if #[cfg(target_env = "msvc")] {
         // no extra unwinder support needed
-    } else if #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] {
+    } else if #[cfg(any(
+        all(target_arch = "wasm32", not(target_os = "emscripten")),
+        target_env = "sgx"
+    ))] {
         // no unwinder on the system!
     } else {
         extern crate libc;