about summary refs log tree commit diff
path: root/library/std/tests/create_dir_all_bare.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/tests/create_dir_all_bare.rs')
-rw-r--r--library/std/tests/create_dir_all_bare.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/tests/create_dir_all_bare.rs b/library/std/tests/create_dir_all_bare.rs
index 905a62f920a..fe789323f97 100644
--- a/library/std/tests/create_dir_all_bare.rs
+++ b/library/std/tests/create_dir_all_bare.rs
@@ -1,3 +1,5 @@
+#![cfg(all(test, not(any(target_os = "emscripten", target_env = "sgx"))))]
+
 //! Note that this test changes the current directory so
 //! should not be in the same process as other tests.
 use std::env;