We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 926e784 commit 95054deCopy full SHA for 95054de
src/bootstrap/bootstrap.py
@@ -1221,9 +1221,9 @@ def bootstrap(help_triggered):
1221
build.verbose = args.verbose
1222
build.clean = args.clean
1223
1224
- # Read from `RUST_BOOTSTRAP_CONFIG`, then `--config`, then fallback to `config.toml` (if it
+ # Read from `--config`, then `RUST_BOOTSTRAP_CONFIG`, then fallback to `config.toml` (if it
1225
# exists).
1226
- toml_path = os.getenv('RUST_BOOTSTRAP_CONFIG') or args.config
+ toml_path = args.config or os.getenv('RUST_BOOTSTRAP_CONFIG')
1227
if not toml_path and os.path.exists('config.toml'):
1228
toml_path = 'config.toml'
1229
0 commit comments