built icon indicating copy to clipboard operation
built copied to clipboard

Detect availability and use `CARGO_CFG_FEATURE`

Open epage opened this issue 8 months ago • 0 comments

Cargo normalizes CARGO_FEATURE_* feature names, making it so there isn't an exact 1:1 between the env variable and Cargo.toml (see rust-lang/cargo#3702).

As of Cargo 1.85, Cargo now provides CARGO_CFG_FEATURE, see rust-lang/cargo#14902.

epage avatar May 01 '25 18:05 epage