Skip to content

Commit

Permalink
Fix incorrect stage std paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Feb 2, 2024
1 parent e1826bf commit c2a0d11
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3773,14 +3773,8 @@ impl<'test> TestCx<'test> {

let mut stage_std_path = PathBuf::new();
stage_std_path.push(&build_root);
if stage == "stage0" {
stage_std_path.push("stage0-std");
} else {
// stage2 reuses stage1-std.
stage_std_path.push("stage1-std");
}
stage_std_path.push(&self.config.target);
stage_std_path.push("release/deps");
stage_std_path.push(&stage);
stage_std_path.push("lib");

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

0 comments on commit c2a0d11

Please sign in to comment.