Skip to content

Commit 79a925f

Browse files
committed
use absolute path for config.toml
Signed-off-by: onur-ozkan <[email protected]>
1 parent d42e582 commit 79a925f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/config/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ impl Config {
13251325
// Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path,
13261326
// but not if `config.toml` hasn't been created.
13271327
let mut toml = if !using_default_path || toml_path.exists() {
1328-
config.config = Some(toml_path.clone());
1328+
config.config = Some(toml_path.canonicalize().unwrap());
13291329
get_toml(&toml_path)
13301330
} else {
13311331
config.config = None;

0 commit comments

Comments
 (0)