summaryrefslogtreecommitdiffstats
path: root/debian/patches/d-bootstrap-cargo-check-cfg.patch
blob: b7e3c457b1b06b6a4c40ab97a090ec6991f2f05b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
our cargo doesn't know about the 'output' part yet, this patch can be dropped
with cargo >= 0.64

Index: rust/src/bootstrap/builder.rs
===================================================================
--- rust.orig/src/bootstrap/builder.rs
+++ rust/src/bootstrap/builder.rs
@@ -1382,9 +1382,9 @@ impl<'a> Builder<'a> {
         // complete list of features, so for that reason we don't enable checking of
         // features for std crates.
         cargo.arg(if mode != Mode::Std {
-            "-Zcheck-cfg=names,values,output,features"
+            "-Zcheck-cfg=names,values,features"
         } else {
-            "-Zcheck-cfg=names,values,output"
+            "-Zcheck-cfg=names,values"
         });
 
         // Add extra cfg not defined in/by rustc