Skip to content

Commit 529e0fc

Browse files
committed
feat(build): use native library in dune targets
1 parent f95398e commit 529e0fc

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎bench/dune‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(executable
22
(name bench_pss)
33
(modes exe js)
4-
(libraries persistent_sorted_set unix))
4+
(libraries persistent_sorted_set_ocaml.native unix))
55

66
(rule
77
(alias bench)

‎lib/dune‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
(name persistent_sorted_set)
33
(public_name persistent_sorted_set_ocaml)
44
(virtual_modules platform_weak_slot)
5-
(default_implementation persistent_sorted_set_ocaml.native)
65
(modes native byte melange)
76
(modules persistent_sorted_set platform_weak_slot))

‎test/dune‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(executable
22
(name test_persistent_sorted_set)
3-
(libraries persistent_sorted_set))
3+
(libraries persistent_sorted_set_ocaml.native))
44

55
(rule
66
(alias runtest)
@@ -10,12 +10,12 @@
1010
(executable
1111
(name js_smoke)
1212
(modes js)
13-
(libraries persistent_sorted_set))
13+
(libraries persistent_sorted_set_ocaml.native))
1414

1515
(executable
1616
(name js_memory_test)
1717
(modes js)
18-
(libraries persistent_sorted_set js_of_ocaml))
18+
(libraries persistent_sorted_set_ocaml.native js_of_ocaml))
1919

2020
(melange.emit
2121
(target melange-storage-smoke)

0 commit comments

Comments
 (0)