Skip to content

Commit 15c77ca

Browse files
committed
bootstrap: ensure that libproc_macro is available on the host for tests even when cross-compiling.
1 parent 3369929 commit 15c77ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/test.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,9 @@ impl Step for Compiletest {
976976
builder.ensure(compile::Std { compiler, target: compiler.host });
977977
}
978978

979+
// HACK(eddyb) ensure that `libproc_macro` is available on the host.
980+
builder.ensure(compile::Test { compiler, target: compiler.host });
981+
979982
builder.ensure(native::TestHelpers { target });
980983
builder.ensure(RemoteCopyLibs { compiler, target });
981984

0 commit comments

Comments
 (0)