d-bootstrap-cargo-check-cfg
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sun, 10 Sep 2023 17:22:53 +0000 (18:22 +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 345e522e673f1043c335923cbf3b0f5ed503211f..7578b1e127f1059a47a01ccca84d03a0d3e856ad 100644 (file)
@@ -1303,9 +1303,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