From 0f221cc034f1f9bc30e2e2bcf37b3fc2ddb0ecf2 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Mon, 20 Feb 2023 13:57:07 +0000 Subject: [PATCH] Exclude SGX from create_dir_all_bare test And emscripten too. --- library/std/tests/create_dir_all_bare.rs | 2 ++ 1 file changed, 2 insertions(+) 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;