Skip to content

Commit 61eb1a8

Browse files
authored
Rollup merge of rust-lang#78550 - jyn514:setup, r=Mark-Simulacrum
x.py setup: Create config.toml in the current directory, not the top-level directory See rust-lang#78509 for discussion. r? @pnkfelix cc @cuviper @Mark-Simulacrum
2 parents ebcf144 + 8cf7d66 commit 61eb1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/setup.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn setup(src_path: &Path, profile: Profile) {
8989
std::process::exit(1);
9090
}
9191

92-
let path = cfg_file.unwrap_or_else(|| src_path.join("config.toml"));
92+
let path = cfg_file.unwrap_or("config.toml".into());
9393
let settings = format!(
9494
"# Includes one of the default files in src/bootstrap/defaults\n\
9595
profile = \"{}\"\n\

0 commit comments

Comments
 (0)