Create config.toml in the current directory, not the top-level directory
See https://github.com/rust-lang/rust/issues/78509 for discussion.
This commit is contained in:
parent
a3d7a5e945
commit
8cf7d66d0a
@ -89,7 +89,7 @@ pub fn setup(src_path: &Path, profile: Profile) {
|
|||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
let path = cfg_file.unwrap_or_else(|| src_path.join("config.toml"));
|
let path = cfg_file.unwrap_or("config.toml".into());
|
||||||
let settings = format!(
|
let settings = format!(
|
||||||
"# Includes one of the default files in src/bootstrap/defaults\n\
|
"# Includes one of the default files in src/bootstrap/defaults\n\
|
||||||
profile = \"{}\"\n\
|
profile = \"{}\"\n\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user