Skip to content

Commit a16531a

Browse files
author
Jon Gjengset
committed
Maybe Windows chokes on canonicalization?
1 parent c766042 commit a16531a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/cli-rustup.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,14 +1533,8 @@ fn file_override_path_relative() {
15331533
let toolchain_path = config
15341534
.rustupdir
15351535
.join("toolchains")
1536-
.join(format!("nightly-{}", this_host_triple()))
1537-
.canonicalize()
1538-
.unwrap();
1539-
let toolchain_file = config
1540-
.current_dir()
1541-
.canonicalize()
1542-
.unwrap()
1543-
.join("rust-toolchain.toml");
1536+
.join(format!("nightly-{}", this_host_triple()));
1537+
let toolchain_file = config.current_dir().join("rust-toolchain.toml");
15441538

15451539
// Find shared prefix so we can determine a relative path
15461540
let mut p1 = toolchain_path.components().peekable();

0 commit comments

Comments
 (0)