Skip to content

Commit

Permalink
fix(compiler): Fix dependency compilation of wasi polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Dec 29, 2022
1 parent 39c7519 commit 4a245b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion compiler/src/compile.re
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,13 @@ let compile_wasi_polyfill = () => {
cstate_filename: Some(file),
cstate_outfile: Some(default_output_filename(file)),
};
ignore(compile_resume(~hook=stop_after_object_file_emitted, cstate));
ignore(
compile_resume(
~is_root_file=true,
~hook=stop_after_object_file_emitted,
cstate,
),
);
})
| None => ()
};
Expand Down

0 comments on commit 4a245b1

Please sign in to comment.