Skip to content

Commit 41070bd

Browse files
committed
explain why we use in-tree std for compiletest
Signed-off-by: onur-ozkan <[email protected]>
1 parent fc0d1dc commit 41070bd

File tree

1 file changed

+2
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/build_steps/test.rs

+2
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,8 @@ impl Step for CompiletestTest {
686686
let mut cargo = tool::prepare_tool_cargo(
687687
builder,
688688
compiler,
689+
// compiletest uses libtest internals; make it use the in-tree std to make sure it never breaks
690+
// when std sources change.
689691
Mode::ToolStd,
690692
host,
691693
"test",

0 commit comments

Comments
 (0)