Skip to content

Commit 26353ea

Browse files
committed
Fix x.py test for librustc crates.
1 parent 1d919c9 commit 26353ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ impl Step for CrateLibrustc {
15621562
let compiler = builder.compiler(builder.top_stage, run.host);
15631563

15641564
for krate in builder.in_tree_crates("rustc-main") {
1565-
if run.path.ends_with(&krate.path) {
1565+
if krate.path.ends_with(&run.path) {
15661566
let test_kind = builder.kind.into();
15671567

15681568
builder.ensure(CrateLibrustc {
@@ -1669,7 +1669,7 @@ impl Step for Crate {
16691669
};
16701670

16711671
for krate in builder.in_tree_crates("test") {
1672-
if run.path.ends_with(&krate.local_path(&builder)) {
1672+
if krate.path.ends_with(&run.path) {
16731673
make(Mode::Std, krate);
16741674
}
16751675
}

0 commit comments

Comments
 (0)