Searched refs:Feature (Results 1 – 2 of 2) sorted by relevance
37 fn make_compile_cfg(features: &Vec<Feature>) { in make_compile_cfg() argument96 pub fn parse_d_configs(d_configs: &Vec<PathBuf>) -> Vec<Feature> { in parse_d_configs() argument105 pub fn parse_d_config(d_config: &PathBuf) -> Vec<Feature> { in parse_d_config() argument117 r.push(Feature::new(name, enable)); in parse_d_config()176 pub struct Feature { struct183 impl Feature { argument184 pub fn new(name: String, enable: bool) -> Feature { in new() argument185 Feature { name, enable } in new()
3 use crate::kconfig::Feature;54 pub fn emit_features(features: &[Feature]) { in emit_features() argument