Closed
Description
#13958 introduce a duplication in the code between the fingerprint logic and the check-cfg
lint config, because of Cargo MSRV, the --check-cfg
code generation is dependant on a minimum rustc
version (1.79).
It would be good to consolidate
cargo/src/cargo/core/compiler/fingerprint/mod.rs
Lines 1424 to 1443 in 431db31
cargo/src/cargo/core/compiler/mod.rs
Lines 1363 to 1384 in 2415192
cargo/src/cargo/util/toml/mod.rs
Line 2333 in 2415192
Originate from #13958 (comment)