about summary refs log tree commit diff
path: root/library/std/src/env/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/env/tests.rs')
-rw-r--r--library/std/src/env/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/env/tests.rs b/library/std/src/env/tests.rs
index fc7aee29733..d0217261068 100644
--- a/library/std/src/env/tests.rs
+++ b/library/std/src/env/tests.rs
@@ -1,7 +1,7 @@
 use super::*;
 
 #[test]
-#[cfg_attr(any(target_os = "emscripten", target_env = "sgx"), ignore)]
+#[cfg_attr(any(target_os = "emscripten", target_os = "wasi", target_env = "sgx"), ignore)]
 fn test_self_exe_path() {
     let path = current_exe();
     assert!(path.is_ok());