Skip to content

Commit

Permalink
Fix inline_tests
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
  • Loading branch information
nojb committed Jul 22, 2019
1 parent 972f9f6 commit 2cd12e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/inline_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ include Sub_system.Register_end_point(
then Mode_conf.Set.add info.modes Byte
else info.modes
in
List.filter_map (Mode_conf.Set.to_list modes) ~f:(fun (mode : Mode_conf.t) ->
List.map (Mode_conf.Set.to_list modes) ~f:(fun (mode : Mode_conf.t) ->
match mode with
| Native -> Some Exe.Linkage.native
| Best -> Some (Exe.Linkage.native_or_custom (Super_context.context sctx))
| Byte -> Some Exe.Linkage.byte
| Javascript -> None
| Native -> Exe.Linkage.native
| Best -> Exe.Linkage.native_or_custom (Super_context.context sctx)
| Byte -> Exe.Linkage.byte
| Javascript -> Exe.Linkage.js
)
in
Exe.build_and_link cctx
Expand Down

0 comments on commit 2cd12e9

Please sign in to comment.