d-bootstrap-cargo-check-cfg
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 26 Jun 2023 21:16:27 +0000 (22:16 +0100)
committerJeremy Bícha <jbicha@ubuntu.com>
Mon, 26 Jun 2023 21:16:27 +0000 (22: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 28154fce66e64542b4dd17306fb850f2cd798bea..657baf0e9634a6cde73b7134c1c35ccfa8bea476 100644 (file)
@@ -1473,9 +1473,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