fix variable not updated in code disabled by feature flags

This commit is contained in:
Folkert 2021-11-09 23:04:31 +01:00
parent 656832b272
commit 4e2b41f924
2 changed files with 5 additions and 2 deletions

View file

@ -193,7 +193,10 @@ pub fn helper(
app_o_file.clone(),
// Long term we probably want a smarter way to link in zig builtins.
// With the current method all methods are kept and it adds about 100k to all outputs.
&[app_o_file.to_str().unwrap(), bitcode::OBJ_PATH],
&[
app_o_file.to_str().unwrap(),
bitcode::BUILTINS_HOST_OBJ_PATH,
],
LinkType::Dylib,
)
.expect("failed to link dynamic library");