diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-08-12 17:11:58 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-08-12 17:14:57 +1000 |
| commit | e4540224229d10a9a537519cad8a64f01060c0ea (patch) | |
| tree | aba5d5ba5387470be625372daca172a81575230f /src | |
| parent | a1531335fe2807715fff569904d99602022643a7 (diff) | |
| download | rust-e4540224229d10a9a537519cad8a64f01060c0ea.tar.gz rust-e4540224229d10a9a537519cad8a64f01060c0ea.zip | |
bootstrap: Only warn about `rust.debug-assertions` if downloading rustc
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/src/core/config/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index c505cacadb5..a656927b1f6 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -955,7 +955,7 @@ impl Config { config.download_rustc_commit = download_ci_rustc_commit(dwn_ctx, rust_download_rustc, config.llvm_assertions); - if debug_assertions_requested { + if debug_assertions_requested && config.download_rustc_commit.is_some() { eprintln!( "WARN: `rust.debug-assertions = true` will prevent downloading CI rustc as alt CI \ rustc is not currently built with debug assertions." |
