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

Function use_feature

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

Source from the content-addressed store, hash-verified

29}
30
31fn use_feature(feature: &str) {
32 println!("cargo:rustc-cfg={}", feature);
33}
34
35/// Test whether the rustc at `var("RUSTC")` supports the given feature.
36fn has_feature(feature: &str) -> bool {

Callers 1

use_feature_or_nothingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected