Pass --no-default-features to codegen as well
This commit is contained in:
parent
d2210d4976
commit
114c25feeb
1 changed files with 3 additions and 0 deletions
|
|
@ -195,6 +195,9 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
|
|||
} else {
|
||||
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<_>>();
|
||||
for flag in &flags {
|
||||
command.push(flag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue