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)=
332
332
333
333
let empty = " "
334
334
335
- #if BS_BROWSER then
335
+ #if BS_BROWSER || BS_PACK then
336
336
let compare = Bs_hash_stubs. string_length_based_compare
337
337
#else
338
338
external 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
164
164
165
165
val empty : string
166
166
167
- #if BS_BROWSER then
167
+ #if BS_BROWSER || BS_PACK then
168
168
val compare : string -> string -> int
169
169
#else
170
170
external 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
48
48
main = Ounit_tests_main
49
49
50
50
build $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
52
52
main = Bspack_main
53
53
54
54
build $SNAP/unstable/js_compiler.ml : bspack | ./bin/bspack.exe $LTO
Original file line number Diff line number Diff line change 1
1
2
- #if BS_BROWSER then
2
+ #if BS_BROWSER || BS_PACK then
3
3
4
4
5
5
let hash_string : string -> int = Hashtbl. hash
You can’t perform that action at this time.
0 commit comments