Skip to content

Commit 14061ec

Browse files
committed
bootstrap: don't resolve symlinks for initial_cargo
1 parent f8131a4 commit 14061ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,9 +1427,7 @@ impl Config {
14271427
};
14281428

14291429
config.initial_cargo = cargo
1430-
.map(|cargo| {
1431-
t!(PathBuf::from(cargo).canonicalize(), "`initial_cargo` not found on disk")
1432-
})
1430+
.map(PathBuf::from)
14331431
.unwrap_or_else(|| config.out.join(config.build.triple).join("stage0/bin/cargo"));
14341432

14351433
// NOTE: it's important this comes *after* we set `initial_rustc` just above.

0 commit comments

Comments
 (0)