From: Debian Rust Maintainers Date: Thu, 30 May 2024 09:25:53 +0000 (+0200) Subject: d-bootstrap-cargo-check-cfg X-Git-Tag: archive/raspbian/1.78.0+dfsg1-2_deb12u3+rpi1~4^2^2^2^2^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5f5eacf8156e98e8cf8dc929b39245c876180233;p=rustc-web.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 0b076bdf04..c923e117af 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1387,9 +1387,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