d-bootstrap-cargo-check-cfg
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
our cargo doesn't know about the 'output' part yet, this patch can be dropped
with cargo >= 0.64

Gbp-Pq: Name d-bootstrap-cargo-check-cfg.patch

src/bootstrap/builder.rs

index dfecee33f099902b0554dde7773a64654079e4f1..b458355e91d8695aeeadb09347c357e892d81022 100644 (file)
@@ -1353,9 +1353,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