|
# Read from `RUST_BOOTSTRAP_CONFIG`, then `--config`, then fallback to `config.toml` (if it |
|
# exists). |
|
toml_path = os.getenv('RUST_BOOTSTRAP_CONFIG') or args.config |
|
if not toml_path and os.path.exists('config.toml'): |
|
toml_path = 'config.toml' |
It seems pretty strange to me that the env variable would take precedence over --config. It would be nice to switch the precedence.
cc @Mark-Simulacrum
Originally posted by @jyn514 in #92260 (comment)
rust/src/bootstrap/bootstrap.py
Lines 1224 to 1228 in 7b43cfc
It seems pretty strange to me that the env variable would take precedence over --config. It would be nice to switch the precedence.
cc @Mark-Simulacrum
Originally posted by @jyn514 in #92260 (comment)