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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue