Skip to content

Commit 0bf5ba8

Browse files
Auto merge of #147896 - Zalathar:target, r=<try>
(EXPERIMENT) compiletest: Don't set `TARGET` for non-run-make tests try-job: dist-i586-gnu-i586-i686-musl
2 parents f04e3df + cfa5c49 commit 0bf5ba8

File tree

1 file changed

+0
-5
lines changed
  • src/tools/compiletest/src

1 file changed

+0
-5
lines changed

src/tools/compiletest/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -525,11 +525,6 @@ fn run_tests(config: Arc<Config>) {
525525
// SAFETY: at this point we're still single-threaded.
526526
unsafe { env::set_var("__COMPAT_LAYER", "RunAsInvoker") };
527527

528-
// Let tests know which target they're running as.
529-
//
530-
// SAFETY: at this point we're still single-threaded.
531-
unsafe { env::set_var("TARGET", &config.target) };
532-
533528
let mut configs = Vec::new();
534529
if let TestMode::DebugInfo = config.mode {
535530
// Debugging emscripten code doesn't make sense today

0 commit comments

Comments
 (0)