Skip to content

Commit bb34921

Browse files
committed
fix(build): Correct name of CARGO_CFG_FEATURE
1 parent 210ebb5 commit bb34921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/build-rs/src/input.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ mod cfg {
162162
#[doc = requires_msrv!("1.85")]
163163
#[track_caller]
164164
pub fn cargo_cfg_feature() -> Vec<String> {
165-
to_strings(var_or_panic(&cargo_cfg_var("target_feature")), ',')
165+
to_strings(var_or_panic(&cargo_cfg_var("feature")), ',')
166166
}
167167

168168
#[cfg(any())]

0 commit comments

Comments
 (0)