From: Debian Rust Maintainers Date: Wed, 21 Feb 2024 00:14:38 +0000 (+0000) Subject: d-bootstrap-cargo-check-cfg X-Git-Tag: archive/raspbian/1.72.1+dfsg1-1+rpi1~2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=026ff1359818e7935916499fcef96bcf46d22e29;p=rustc.git d-bootstrap-cargo-check-cfg 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 --- diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 6d1cd3b382..d6441bc2a0 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -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