From ce74bced32339108ccc4c2cf7177d68d41c7dbbc Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 5 Dec 2024 16:02:06 -0600 Subject: [PATCH] docs(fingerprint): cargo-rustc extra flags do not affect the metadata As the prior test updates show, RUSTFLAGS and extra-flags have the same behavior: they don't affect `-Cextra-filename` or `-Cmetadata`. I also verified this by code inspection. I'm not sure why the table says this. --- src/cargo/core/compiler/fingerprint/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/core/compiler/fingerprint/mod.rs b/src/cargo/core/compiler/fingerprint/mod.rs index d994830c630..f4cb2e0c3e2 100644 --- a/src/cargo/core/compiler/fingerprint/mod.rs +++ b/src/cargo/core/compiler/fingerprint/mod.rs @@ -66,7 +66,7 @@ //! -------------------------------------------|-------------|---------- //! rustc | ✓ | ✓ //! [`Profile`] | ✓ | ✓ -//! `cargo rustc` extra args | ✓ | ✓ +//! `cargo rustc` extra args | ✓ | //! [`CompileMode`] | ✓ | ✓ //! Target Name | ✓ | ✓ //! `TargetKind` (bin/lib/etc.) | ✓ | ✓