提交 26353eae 编写于 作者: E Eric Huss

Fix x.py test for librustc crates.

上级 1d919c93
......@@ -1562,7 +1562,7 @@ fn make_run(run: RunConfig<'_>) {
let compiler = builder.compiler(builder.top_stage, run.host);
for krate in builder.in_tree_crates("rustc-main") {
if run.path.ends_with(&krate.path) {
if krate.path.ends_with(&run.path) {
let test_kind = builder.kind.into();
builder.ensure(CrateLibrustc {
......@@ -1669,7 +1669,7 @@ fn make_run(run: RunConfig<'_>) {
};
for krate in builder.in_tree_crates("test") {
if run.path.ends_with(&krate.local_path(&builder)) {
if krate.path.ends_with(&run.path) {
make(Mode::Std, krate);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册