From 6fe2034a1c406483f0eda36d4a5d317954a5a3b8 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 13 Jun 2024 11:01:11 +0000 Subject: [PATCH] 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 --- src/bootstrap/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2