MCPcopy Create free account
hub / github.com/bytecodealliance/system-interface / use_feature_or_nothing

Function use_feature_or_nothing

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

Source from the content-addressed store, hash-verified

23}
24
25fn use_feature_or_nothing(feature: &str) {
26 if has_feature(feature) {
27 use_feature(feature);
28 }
29}
30
31fn use_feature(feature: &str) {
32 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