From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 11:17:39 +0000 (+0200) Subject: set tools to those built in Debian X-Git-Tag: archive/raspbian/1.78.0+dfsg1-2+rpi1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8c5d2d5db4b1973de181e454f96fe06f29328bb4;p=rustc.git set tools to those built in Debian Forwarded: not-needed =================================================================== Gbp-Pq: Topic build Gbp-Pq: Name d-bootstrap-no-assume-tools.patch --- diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs index 7739303aca..168f092db3 100644 --- a/src/bootstrap/src/core/builder/tests.rs +++ b/src/bootstrap/src/core/builder/tests.rs @@ -387,9 +387,13 @@ mod dist { #[test] fn dist_only_cross_host() { let b = TargetSelection::from_user("B"); + let mut tools = std::collections::HashSet::new(); + tools.insert("clippy".to_string()); + tools.insert("rustfmt".to_string()); let mut config = configure(&["A", "B"], &["A", "B"]); config.docs = false; config.extended = true; + config.tools = Some(tools); config.hosts = vec![b]; let mut cache = run_build(&[], config);