mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Rename bootstrap/defaults/{config.toml.PROFILE => config.PROFILE.toml}
This commit is contained in:
parent
beb5ae474d
commit
afe83d4c1c
@ -574,7 +574,7 @@ impl Config {
|
||||
include_path.push("src");
|
||||
include_path.push("bootstrap");
|
||||
include_path.push("defaults");
|
||||
include_path.push(format!("config.toml.{}", include));
|
||||
include_path.push(format!("config.{}.toml", include));
|
||||
let included_toml = get_toml(&include_path);
|
||||
toml.merge(included_toml);
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ pub fn setup(src_path: &Path, include_name: &str) {
|
||||
file.display()
|
||||
);
|
||||
println!(
|
||||
"note: this will use the configuration in {}/src/bootstrap/defaults/config.toml.{}",
|
||||
"note: this will use the configuration in {}/src/bootstrap/defaults/config.{}.toml",
|
||||
src_path.display(),
|
||||
include_name
|
||||
);
|
||||
@ -36,7 +36,7 @@ pub fn setup(src_path: &Path, include_name: &str) {
|
||||
t!(fs::write(path, settings));
|
||||
|
||||
let include_path =
|
||||
format!("{}/src/bootstrap/defaults/config.toml.{}", src_path.display(), include_name);
|
||||
format!("{}/src/bootstrap/defaults/config.{}.toml", src_path.display(), include_name);
|
||||
println!("`x.py` will now use the configuration at {}", include_path);
|
||||
|
||||
let suggestions = match include_name {
|
||||
|
Loading…
Reference in New Issue
Block a user