]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/process.rs
SGX target: fix std unit tests
[rust.git] / src / libstd / process.rs
index ad86acbb47de420c6ed67365fd2cf118c81a18f1..054b398b01f26a414bef98dae648e2458c3d883b 100644 (file)
@@ -1621,7 +1621,7 @@ fn report(self) -> i32 {
     }
 }
 
-#[cfg(all(test, not(any(target_os = "cloudabi", target_os = "emscripten"))))]
+#[cfg(all(test, not(any(target_os = "cloudabi", target_os = "emscripten", target_env = "sgx"))))]
 mod tests {
     use crate::io::prelude::*;