Skip to content

Commit 606bf25

Browse files
epageehuss
andauthored
fix: Typo
Co-authored-by: Eric Huss <[email protected]>
1 parent a83a9b2 commit 606bf25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/inside-rust/2024-12-13-this-development-cycle-in-cargo-1.84.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Cargo's [build fingerprinting](https://doc.rust-lang.org/nightly/nightly-rustc/c
112112
- Making symbol names unique so you can't unintentionally use a type in an ABI-incompatible context, called [`-Cmetadata`](https://doc.rust-lang.org/rustc/codegen-options/index.html#metadata)
113113

114114
`RUSTFLAGS` is a way to bypass Cargo's abstractions and directly control the behavior of `rustc`.
115-
Cargo includes `RUSTFLAGS` in the fingerprint hash but no in the `-Cextra-filename` hash,
115+
Cargo includes `RUSTFLAGS` in the fingerprint hash but not in the `-Cextra-filename` hash,
116116
causing a full rebuild when they change.
117117
This can be especially problematic when `RUSTFLAGS` differs between the user and their editor running `cargo`.
118118
For example, some users report they set `--cfg test` in their editor so all `#[cfg(test)]`s are enabled in rust-analyzer.

0 commit comments

Comments
 (0)