about summary refs log tree commit diff
path: root/library/std/tests/create_dir_all_bare.rs
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2023-02-20 13:57:07 +0000
committerChris Denton <chris@chrisdenton.dev>2023-02-21 18:33:20 +0000
commit0f221cc034f1f9bc30e2e2bcf37b3fc2ddb0ecf2 (patch)
tree88e2b1f0d3de6d010c0a1601de568b7989cb1243 /library/std/tests/create_dir_all_bare.rs
parent9b18b4440a8d8b052ef454dba9fdb95be99485e7 (diff)
downloadrust-0f221cc034f1f9bc30e2e2bcf37b3fc2ddb0ecf2.tar.gz
rust-0f221cc034f1f9bc30e2e2bcf37b3fc2ddb0ecf2.zip
Exclude SGX from create_dir_all_bare test
And emscripten too.
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;