Skip to content

Commit

Permalink
docs(fingerprint): cargo-rustc extra flags do not affect the metadata
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
epage committed Dec 5, 2024
1 parent fda267e commit 44afc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/fingerprint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
//! -------------------------------------------|-------------|----------
//! rustc | ✓ | ✓
//! [`Profile`] | ✓ | ✓
//! `cargo rustc` extra args | ✓ |
//! `cargo rustc` extra args | ✓ |
//! [`CompileMode`] | ✓ | ✓
//! Target Name | ✓ | ✓
//! `TargetKind` (bin/lib/etc.) | ✓ | ✓
Expand Down

0 comments on commit 44afc76

Please sign in to comment.