MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / use_feature_or_nothing

Function use_feature_or_nothing

build.rs:216–220  ·  view source on GitHub ↗
(feature: &str)

Source from the content-addressed store, hash-verified

214}
215
216fn use_feature_or_nothing(feature: &str) {
217 if has_feature(feature) {
218 use_feature(feature);
219 }
220}
221
222fn use_feature(feature: &str) {
223 println!("cargo:rustc-cfg={}", feature);

Callers 1

mainFunction · 0.85

Calls 2

has_featureFunction · 0.85
use_featureFunction · 0.85

Tested by

no test coverage detected