about summary refs log tree commit diff
path: root/src/libpanic_unwind
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-05-31 18:09:25 -0700
committerEric Huss <eric@huss.org>2020-07-15 09:57:05 -0700
commit6e9a1de0d146734e51cc7e761b288e9b9b138d4f (patch)
tree30b9b14101b98330b12c5d90131fd6e375ff29c4 /src/libpanic_unwind
parent9e58908e27d47683800ab0869a98502a6f485a62 (diff)
downloadrust-6e9a1de0d146734e51cc7e761b288e9b9b138d4f.tar.gz
rust-6e9a1de0d146734e51cc7e761b288e9b9b138d4f.zip
Introduce restricted-std feature.
Diffstat (limited to 'src/libpanic_unwind')
-rw-r--r--src/libpanic_unwind/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpanic_unwind/lib.rs b/src/libpanic_unwind/lib.rs
index f361354da2a..26b503cb792 100644
--- a/src/libpanic_unwind/lib.rs
+++ b/src/libpanic_unwind/lib.rs
@@ -41,7 +41,7 @@ cfg_if::cfg_if! {
     if #[cfg(target_os = "emscripten")] {
         #[path = "emcc.rs"]
         mod real_imp;
-    } else if #[cfg(target_arch = "wasm32")] {
+    } else if #[cfg(any(target_arch = "wasm32", target_os = "none"))] {
         #[path = "dummy.rs"]
         mod real_imp;
     } else if #[cfg(target_os = "hermit")] {