about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2018-05-16 15:38:32 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2018-11-30 06:15:20 +0200
commit15c77caf59c185c01d60925bd8b21eb549a0a818 (patch)
treee979885ff168fe04dbe5e34ce20d2feb9581badd
parent3369929ddb7a3be8048636ed376d05f1a3295378 (diff)
downloadrust-15c77caf59c185c01d60925bd8b21eb549a0a818.tar.gz
rust-15c77caf59c185c01d60925bd8b21eb549a0a818.zip
bootstrap: ensure that `libproc_macro` is available on the host for tests even when cross-compiling.
-rw-r--r--src/bootstrap/test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index dbff26ee9e3..08672c1fc93 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -976,6 +976,9 @@ impl Step for Compiletest {
             builder.ensure(compile::Std { compiler, target: compiler.host });
         }
 
+        // HACK(eddyb) ensure that `libproc_macro` is available on the host.
+        builder.ensure(compile::Test { compiler, target: compiler.host });
+
         builder.ensure(native::TestHelpers { target });
         builder.ensure(RemoteCopyLibs { compiler, target });