Skip to content

Commit c2a0d11

Browse files
committed
Fix incorrect stage std paths
1 parent e1826bf commit c2a0d11

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3773,14 +3773,8 @@ impl<'test> TestCx<'test> {
37733773

37743774
let mut stage_std_path = PathBuf::new();
37753775
stage_std_path.push(&build_root);
3776-
if stage == "stage0" {
3777-
stage_std_path.push("stage0-std");
3778-
} else {
3779-
// stage2 reuses stage1-std.
3780-
stage_std_path.push("stage1-std");
3781-
}
3782-
stage_std_path.push(&self.config.target);
3783-
stage_std_path.push("release/deps");
3776+
stage_std_path.push(&stage);
3777+
stage_std_path.push("lib");
37843778

37853779
// Then, we need to build the recipe `rmake.rs` and link in the support library.
37863780
let recipe_bin = tmpdir.join("rmake");

0 commit comments

Comments
 (0)