Skip to content

Commit 997ab61

Browse files
committed
bootstrap: don't resolve symlinks for initial_cargo
1 parent cce6a6e commit 997ab61

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
@@ -1425,9 +1425,7 @@ impl Config {
14251425
};
14261426

14271427
config.initial_cargo = cargo
1428-
.map(|cargo| {
1429-
t!(PathBuf::from(cargo).canonicalize(), "`initial_cargo` not found on disk")
1430-
})
1428+
.map(PathBuf::from)
14311429
.unwrap_or_else(|| config.out.join(config.build.triple).join("stage0/bin/cargo"));
14321430

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

0 commit comments

Comments
 (0)