File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ let replace_backward_slash (x : string)=
332332
333333let empty = " "
334334
335- #if BS_BROWSER then
335+ #if BS_BROWSER || BS_PACK then
336336let compare = Bs_hash_stubs. string_length_based_compare
337337#else
338338external compare : string -> string -> int = " caml_string_length_based_compare" [@@ noalloc];;
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ val replace_backward_slash : string -> string
164164
165165val empty : string
166166
167- #if BS_BROWSER then
167+ #if BS_BROWSER || BS_PACK then
168168val compare : string -> string -> int
169169#else
170170external compare : string -> string -> int = " caml_string_length_based_compare" [@@ noalloc];;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ build $SNAP/unstable/all_ounit_tests.ml: bspack | ./bin/bspack.exe $LTO
4848 main = Ounit_tests_main
4949
5050build $SNAP/unstable/bspack.ml : bspack | ./bin/bspack.exe $LTO
51- flags = -bs-MD -module-alias Config=Config_whole_compiler -I $OCAML_SRC_PARSING -I $OCAML_SRC_UTILS -I stubs -I ext -I common -I depends -I core -I main -bs-main Bspack_main
51+ flags = -D BS_PACK=true - bs-MD -module-alias Config=Config_whole_compiler -I $OCAML_SRC_PARSING -I $OCAML_SRC_UTILS -I stubs -I ext -I common -I depends -I core -I main -bs-main Bspack_main
5252 main = Bspack_main
5353
5454build $SNAP/unstable/js_compiler.ml : bspack | ./bin/bspack.exe $LTO
Original file line number Diff line number Diff line change 11
2- #if BS_BROWSER then
2+ #if BS_BROWSER || BS_PACK then
33
44
55let hash_string : string -> int = Hashtbl. hash
You can’t perform that action at this time.
0 commit comments