Skip to content

Commit ce59724

Browse files
committed
gen_metaocaml: reference Stdlib, require stdlib-shims
1 parent 07f4ecd commit ce59724

File tree

4 files changed

+103
-101
lines changed

4 files changed

+103
-101
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gen_ragel: devkit_ragel.ml htmlStream_ragel.ml
1010
gen_metaocaml:
1111
OCAMLFIND_TOOLCHAIN=metaocaml ocamlfind ocamlc -linkpkg -package extlib stage_merge.ml -o stage_merge.byte
1212
rm stage_merge.cm*
13-
./stage_merge.byte | sed s/Stdlib/Pervasives/g > extEnum_merge.ml
13+
./stage_merge.byte > extEnum_merge.ml
1414
ocamlfind ocamlc -package extlib -i extEnum_merge.ml > extEnum_merge.mli
1515

1616
%.ml: %.ml.rl

devkit.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ depends: [
2727
"base-bytes"
2828
"base-unix"
2929
"base-threads"
30+
"stdlib-shims"
3031
"yojson" {>= "1.6.0"}
3132
]
3233
depopts: [

dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
netstring
2020
oUnit
2121
pcre
22+
stdlib-shims
2223
yojson
2324
zip)
2425
(modules :standard \

0 commit comments

Comments
 (0)