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

Function use_feature

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

Source from the content-addressed store, hash-verified

220}
221
222fn use_feature(feature: &str) {
223 println!("cargo:rustc-cfg={}", feature);
224}
225
226/// Test whether the rustc at `var("RUSTC")` supports the given feature.
227fn has_feature(feature: &str) -> bool {

Callers 2

mainFunction · 0.85
use_feature_or_nothingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected