mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Rollup merge of #129194 - ChrisDenton:detect-src, r=Mark-Simulacrum
Fix bootstrap test `detect_src_and_out` on Windows Fixes #129188 by making sure it's properly testing the right path for the platform.
This commit is contained in:
commit
cdb44b7b15
@ -96,8 +96,8 @@ fn detect_src_and_out() {
|
||||
test(parse(""), None);
|
||||
|
||||
{
|
||||
let build_dir = if cfg!(windows) { Some("C:\\tmp") } else { Some("/tmp") };
|
||||
test(parse("build.build-dir = \"/tmp\""), build_dir);
|
||||
let build_dir = if cfg!(windows) { "C:\\tmp" } else { "/tmp" };
|
||||
test(parse(&format!("build.build-dir = '{build_dir}'")), Some(build_dir));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user