about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-07 20:01:44 +0200
committerGitHub <noreply@github.com>2019-09-07 20:01:44 +0200
commit89a69fd76d275ddd2c81fdbae02a966d24658aaa (patch)
treeb191b0475521f0d20bf4aaad612c28a4d9a8d952 /src/bootstrap
parent3c4a58622128887778c6fd7c35de66f3fa463708 (diff)
parent5153db136e8419beb217340500a97db553ddabbe (diff)
downloadrust-89a69fd76d275ddd2c81fdbae02a966d24658aaa.tar.gz
rust-89a69fd76d275ddd2c81fdbae02a966d24658aaa.zip
Rollup merge of #64139 - Mark-Simulacrum:strip-legacy-proc-macro, r=petrochenkov
Migrate internal diagnostic registration to macro_rules

Review is best done commit-by-commit.

Fixes #64132.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 97b28ed9e96..00d87f3841c 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1327,7 +1327,10 @@ impl Step for Compiletest {
             cmd.env("RUSTC_PROFILER_SUPPORT", "1");
         }
 
-        cmd.env("RUST_TEST_TMPDIR", builder.out.join("tmp"));
+        let tmp = builder.out.join("tmp");
+        std::fs::create_dir_all(&tmp).unwrap();
+        cmd.env("RUST_TEST_TMPDIR", tmp);
+
 
         cmd.arg("--adb-path").arg("adb");
         cmd.arg("--adb-test-dir").arg(ADB_TEST_DIR);