bootstrap: ensure that `libproc_macro` is available on the host for tests even when cross-compiling.

This commit is contained in:
Eduard-Mihai Burtescu 2018-05-16 15:38:32 +03:00
parent 3369929ddb
commit 15c77caf59
1 changed files with 3 additions and 0 deletions

View File

@ -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 });