Skip to content

Commit c0f356d

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

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)