d-disable-download-tests
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 24 Apr 2025 15:47:57 +0000 (17:47 +0200)
Forwarded: no

Gbp-Pq: Topic upstream
Gbp-Pq: Name d-disable-download-tests.patch

src/bootstrap/src/core/config/tests.rs

index 24f932a172432f5af76dcfc01580f6018f9d8ffb..65381cadbf0beb7f0c2dab56fc78dbe6c235f89c 100644 (file)
@@ -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();