summaryrefslogtreecommitdiffstats
path: root/debian/patches/d-bootstrap-no-assume-tools.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/d-bootstrap-no-assume-tools.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/d-bootstrap-no-assume-tools.patch b/debian/patches/d-bootstrap-no-assume-tools.patch
new file mode 100644
index 000000000..c72ec4d7f
--- /dev/null
+++ b/debian/patches/d-bootstrap-no-assume-tools.patch
@@ -0,0 +1,27 @@
+From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+Date: Thu, 14 Jul 2022 13:17:39 +0200
+Subject: d-bootstrap-no-assume-tools
+
+===================================================================
+---
+ src/bootstrap/builder/tests.rs | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs
+index 4ab502e..5ce7fc8 100644
+--- a/src/bootstrap/builder/tests.rs
++++ b/src/bootstrap/builder/tests.rs
+@@ -364,9 +364,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);
+