mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
fix(build): Correct name of CARGO_CFG_FEATURE (#15420)
### What does this PR try to resolve? Bad copy/paste in #14902 ### How should we test and review this PR? ### Additional information Found this when looking at how we handle MSRV in `build-rs`
This commit is contained in:
commit
338e3f8d8a
@ -162,7 +162,7 @@ mod cfg {
|
||||
#[doc = requires_msrv!("1.85")]
|
||||
#[track_caller]
|
||||
pub fn cargo_cfg_feature() -> Vec<String> {
|
||||
to_strings(var_or_panic(&cargo_cfg_var("target_feature")), ',')
|
||||
to_strings(var_or_panic(&cargo_cfg_var("feature")), ',')
|
||||
}
|
||||
|
||||
#[cfg(any())]
|
||||
|
Loading…
x
Reference in New Issue
Block a user