Skip to content

Commit 4d031d7

Browse files
committed
auto merge of #17940 : pnkfelix/rust/fix-check-stage1-on-clean-dir, r=huonw
compiletest needs to link to native crate, or at least the `rt` library. (I tried using a dependency on `rustrt` instead, and that did not resolve the problem. But this does.) Partially addresses #17883
2 parents 9b98332 + b63a18f commit 4d031d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/crates.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ DEPS_regex := std
101101
DEPS_regex_macros = rustc syntax std regex
102102
DEPS_fmt_macros = std
103103

104-
TOOL_DEPS_compiletest := test getopts
104+
TOOL_DEPS_compiletest := test getopts native
105105
TOOL_DEPS_rustdoc := rustdoc native
106106
TOOL_DEPS_rustc := rustc native
107107
TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs

0 commit comments

Comments
 (0)