d-bootstrap-cargo-check-cfg
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 15 Jan 2024 07:16:35 +0000 (08:16 +0100)
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 6d1cd3b3820034920bfd75295abd14f2bb9909ba..d6441bc2a021842024f55a0ccf8fc0ed694ac4d0 100644 (file)
@@ -1347,9 +1347,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