From: Fabian Grünbichler Date: Sat, 11 Jan 2025 15:37:16 +0000 (+0100) Subject: bootstrap: don't attempt to download rustc in tests X-Git-Tag: archive/raspbian/1.93.1+dfsg1-2+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4f0a1a71eb5d9c4b3cbb8479397942905b93985b;p=rustc.git bootstrap: don't attempt to download rustc in tests the tests use a default config, so we need to manually override this option.. Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name bootstrap-don-t-attempt-to-download-rustc-in-tests.patch --- diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 2f493658ec..f42c0fd571 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -566,7 +566,7 @@ impl Config { annotate_moves_size_limit: rust_annotate_moves_size_limit, profile_generate: rust_profile_generate, profile_use: rust_profile_use, - download_rustc: rust_download_rustc, + download_rustc: mut rust_download_rustc, lto: rust_lto, validate_mir_opts: rust_validate_mir_opts, frame_pointers: rust_frame_pointers, @@ -705,6 +705,7 @@ impl Config { ); build_rustc = Some(stage0_rustc); } + rust_download_rustc = Some(StringOrBool::Bool(false)); } if !flags_skip_stage0_validation {