]> git.proxmox.com Git - rustc.git/blame - debian/patches/d-bootstrap-no-assume-tools.patch
Merge branch 'debian/experimental' into proxmox/bookworm
[rustc.git] / debian / patches / d-bootstrap-no-assume-tools.patch
CommitLineData
d1e0747a
FG
1From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
2Date: Thu, 14 Jul 2022 13:17:39 +0200
3Subject: d-bootstrap-no-assume-tools
4
5===================================================================
6---
7 src/bootstrap/builder/tests.rs | 4 ++++
8 1 file changed, 4 insertions(+)
9
d54e75de
FG
10Index: rust/src/bootstrap/builder/tests.rs
11===================================================================
12--- rust.orig/src/bootstrap/builder/tests.rs
13+++ rust/src/bootstrap/builder/tests.rs
fbd32ee8 14@@ -380,9 +380,13 @@ mod dist {
9c1ae17b 15 #[test]
60275173 16 fn dist_only_cross_host() {
f1a826d3 17 let b = TargetSelection::from_user("B");
f1a826d3
XL
18+ let mut tools = std::collections::HashSet::new();
19+ tools.insert("clippy".to_string());
20+ tools.insert("rustfmt".to_string());
60275173
FG
21 let mut config = configure(&["A", "B"], &["A", "B"]);
22 config.docs = false;
23 config.extended = true;
24+ config.tools = Some(tools);
25 config.hosts = vec![b];
26 let mut cache = run_build(&[], config);
27