Skip to content

Commit 8cf7d66

Browse files
committedOct 30, 2020
Create config.toml in the current directory, not the top-level directory
See #78509 for discussion.
1 parent a3d7a5e commit 8cf7d66

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)