We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d4c61 commit 66e8a29Copy full SHA for 66e8a29
src/bootstrap/config.rs
@@ -926,8 +926,10 @@ impl Config {
926
// Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path,
927
// but not if `config.toml` hasn't been created.
928
let mut toml = if !using_default_path || toml_path.exists() {
929
+ config.config = Some(toml_path.clone());
930
get_toml(&toml_path)
931
} else {
932
+ config.config = None;
933
TomlConfig::default()
934
};
935
@@ -942,7 +944,6 @@ impl Config {
942
944
}
943
945
946
config.changelog_seen = toml.changelog_seen;
- config.config = if toml_path.exists() { Some(toml_path) } else { None };
947
948
let build = toml.build.unwrap_or_default();
949
0 commit comments