Skip to content

Commit cef052f

Browse files
authored
Rollup merge of rust-lang#114172 - fortanix:raoul/fix_process-spawning_test, r=workingjubilee
Fix issue_15149 test for the SGX target PR rust-lang#112390 moved tests to std. Unfortunately, this caused the `issue_15149` test to be enabled for the SGX target. This is incorrect as the SGX target does not support the `env::current_exe()` call.
2 parents 7d30c5d + 8548689 commit cef052f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/tests/process_spawning.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(not(target_env="sgx"))]
2+
13
use std::env;
24
use std::fs;
35
use std::process;

0 commit comments

Comments
 (0)