Skip to content

Commit 114c25f

Browse files
Pass --no-default-features to codegen as well
1 parent d2210d4 commit 114c25f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_system/src/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
195195
} else {
196196
env.insert("CHANNEL".to_string(), "debug".to_string());
197197
}
198+
if args.config_info.no_default_features {
199+
command.push(&"--no-default-features");
200+
}
198201
let flags = args.flags.iter().map(|s| s.as_str()).collect::<Vec<_>>();
199202
for flag in &flags {
200203
command.push(flag);

0 commit comments

Comments
 (0)