Skip to content

Commit

Permalink
Rollup merge of rust-lang#114172 - fortanix:raoul/fix_process-spawnin…
Browse files Browse the repository at this point in the history
…g_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.
  • Loading branch information
matthiaskrgr authored Jul 29, 2023
2 parents 5df97c6 + 8548689 commit 68dc159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/std/tests/process_spawning.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(target_env="sgx"))]

use std::env;
use std::fs;
use std::process;
Expand Down

0 comments on commit 68dc159

Please sign in to comment.