Skip to content

Commit aba5557

Browse files
vouillonhhugo
authored andcommitted
Dynlink/toplevel: export all units when no export file is specified (#921)
That was the behavior of previous versions of Js_of_ocaml.
1 parent 8dbadd3 commit aba5557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/lib/parse_bytecode.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@ let from_exe
21662166
with Not_found -> (
21672167
match exported_unit with
21682168
| Some l -> List.mem s ~set:l
2169-
| None -> false)
2169+
| None -> true)
21702170
in
21712171
let crcs = List.filter ~f:(fun (unit, _crc) -> keep unit) orig_crcs in
21722172
let symbols =

0 commit comments

Comments
 (0)