Skip to content

Commit b63a18f

Browse files
committed
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.) Fix #17883
1 parent 1add4de commit b63a18f

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)