We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7bd534 commit 6cf77c9Copy full SHA for 6cf77c9
compiler/driver.ml
@@ -262,8 +262,10 @@ let link formatter ~standalone ?linkall js =
262
(* gen_missing may use caml_failwith *)
263
let linkinfos,missing =
264
if not (StringSet.is_empty missing) && Option.Optim.genprim ()
265
- then Linker.resolve_deps linkinfos (StringSet.singleton "caml_failwith")
266
- else linkinfos,missing in
+ then
+ let linkinfos,missing2 = Linker.resolve_deps linkinfos (StringSet.singleton "caml_failwith") in
267
+ linkinfos, StringSet.union missing missing2
268
+ else linkinfos, missing in
269
270
let js = if Option.Optim.genprim ()
271
then gen_missing js missing
0 commit comments