From 15c77caf59c185c01d60925bd8b21eb549a0a818 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Wed, 16 May 2018 15:38:32 +0300 Subject: [PATCH] bootstrap: ensure that `libproc_macro` is available on the host for tests even when cross-compiling. --- src/bootstrap/test.rs | 3 +++ 1 file changed, 3 insertions(+) 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 });