rustc/debian/patches/upstream/d-disable-download-tests.patch
Fabian Grünbichler b1ff7e314b update of patches for 1.84.0+dfsg1
including rust-analyzer

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
2025-01-11 10:56:11 +01:00

24 lines
872 B
Diff

From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Date: Thu, 13 Jun 2024 11:16:39 +0200
Subject: d-disable-download-tests
Forwarded: no
---
src/bootstrap/src/core/config/tests.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bootstrap/src/core/config/tests.rs b/src/bootstrap/src/core/config/tests.rs
index 24f932a..65381ca 100644
--- a/src/bootstrap/src/core/config/tests.rs
+++ b/src/bootstrap/src/core/config/tests.rs
@@ -56,6 +56,9 @@ fn download_ci_llvm() {
// - https://github.com/rust-lang/rust/pull/109162#issuecomment-1496782487
#[test]
fn detect_src_and_out() {
+ // Debian: this will attempt to download a toolchain
+ return;
+
fn test(cfg: Config, build_dir: Option<&str>) {
// This will bring absolute form of `src/bootstrap` path
let current_dir = std::env::current_dir().unwrap();