]> git.lizzy.rs Git - rust.git/blobdiff - src/libpanic_unwind/lib.rs
Add x86_64-fortanix-unknown-sgx target to libstd and dependencies
[rust.git] / src / libpanic_unwind / lib.rs
index cfe671c626bcf040b14c4b5dd328ddd535783232..49f8a429126b70e5a31ed128d216ad366572e79f 100644 (file)
@@ -62,7 +62,7 @@
     if #[cfg(target_os = "emscripten")] {
         #[path = "emcc.rs"]
         mod imp;
-    } else if #[cfg(target_arch = "wasm32")] {
+    } else if #[cfg(any(target_arch = "wasm32", target_env = "sgx"))] {
         #[path = "dummy.rs"]
         mod imp;
     } else if #[cfg(all(target_env = "msvc", target_arch = "aarch64"))] {