Pass --no-default-features
to codegen as well
This commit is contained in:
parent
d2210d4976
commit
114c25feeb
@ -195,6 +195,9 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
|
|||||||
} else {
|
} else {
|
||||||
env.insert("CHANNEL".to_string(), "debug".to_string());
|
env.insert("CHANNEL".to_string(), "debug".to_string());
|
||||||
}
|
}
|
||||||
|
if args.config_info.no_default_features {
|
||||||
|
command.push(&"--no-default-features");
|
||||||
|
}
|
||||||
let flags = args.flags.iter().map(|s| s.as_str()).collect::<Vec<_>>();
|
let flags = args.flags.iter().map(|s| s.as_str()).collect::<Vec<_>>();
|
||||||
for flag in &flags {
|
for flag in &flags {
|
||||||
command.push(flag);
|
command.push(flag);
|
||||||
|
Loading…
Reference in New Issue
Block a user