File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ let create_object_and_run_initializers obj_0 table =
468
468
let sendself obj lab =
469
469
(magic obj : (obj -> t) array array).(0).(lab) obj
470
470
*)
471
- external send : obj -> tag -> 'a = " %send"
471
+ (* external send : obj -> tag -> 'a = "%send" *)
472
472
external sendcache : obj -> tag -> t -> int -> 'a = " %sendcache"
473
473
external sendself : obj -> label -> 'a = " %sendself"
474
474
external get_public_method : obj -> tag -> closure
Original file line number Diff line number Diff line change 17
17
18
18
external seeded_hash_param :
19
19
int -> int -> int -> 'a -> int = " caml_hash" [@@ noalloc]
20
- external old_hash_param :
21
- int -> int -> 'a -> int = " caml_hash_univ_param" [@@ noalloc]
20
+ (* external old_hash_param :
21
+ int -> int -> 'a -> int = "caml_hash_univ_param" [@@noalloc] *)
22
22
23
23
let hash x = seeded_hash_param 10 100 0 x
24
24
let hash_param n1 n2 x = seeded_hash_param n1 n2 0 x
Original file line number Diff line number Diff line change 1
1
2
2
bsc = ../lib/bsc.exe
3
- bsc_flags = -absname -no-alias-deps -bs-no-version-header -bs-diagnose -bs-no-check-div-by-zero -bs-cross-module-opt -bs-package-name bs-platform -bs-package-output commonjs:lib/js -bs-package-output es6:lib/es6 -nostdlib -w -40-49-103-3 -bin-annot -bs-no- warn-unimplemented-external -I runtime -I others
3
+ bsc_flags = -absname -no-alias-deps -bs-no-version-header -bs-diagnose -bs-no-check-div-by-zero -bs-cross-module-opt -bs-package-name bs-platform -bs-package-output commonjs:lib/js -bs-package-output es6:lib/es6 -nostdlib -w -9-3-106 - warn-error A -I runtime -I others
4
4
5
5
rule cc
6
6
command = $bsc -bs-cmi -bs-cmj $bsc_flags -I stdlib-406 $in
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ type backend_type =
24
24
| Other of string
25
25
(* System interface *)
26
26
27
- external get_config : unit -> string * int * bool = " caml_sys_get_config"
27
+ (* external get_config: unit -> string * int * bool = "caml_sys_get_config" *)
28
28
external get_argv : unit -> string * string array = " caml_sys_get_argv"
29
29
external big_endian : unit -> bool = " %big_endian"
30
30
external word_size : unit -> int = " %word_size"
31
31
external int_size : unit -> int = " %int_size"
32
- external max_wosize : unit -> int = " %max_wosize"
32
+ (* external max_wosize : unit -> int = "%max_wosize" *)
33
33
external unix : unit -> bool = " %ostype_unix"
34
34
external win32 : unit -> bool = " %ostype_win32"
35
35
external cygwin : unit -> bool = " %ostype_cygwin"
You can’t perform that action at this time.
0 commit comments