Skip to content

Commit dcc84cc

Browse files
committed
tweak
1 parent 6e38957 commit dcc84cc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: jscomp/others/js_exn.ml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
type t = Caml_js_exceptions.t
2727

28+
[@@@warning "-38"] (* unused extension constructor*)
2829
exception Error = Caml_js_exceptions.Error
2930

3031
external asJsExn : exn -> t option =

Diff for: jscomp/others/release.ninja

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
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 -nopervasives -unsafe -warn-error A-38 -w -40-49-103 -bin-annot -bs-noassertfalse -open Bs_stdlib_mini -I ./runtime
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 -nopervasives -unsafe -w -40-49-103 -warn-error A -bin-annot -bs-noassertfalse -open Bs_stdlib_mini -I ./runtime
44

55
rule cc
66
command = $bsc -bs-cmi -bs-cmj $bsc_flags -I others $in
@@ -79,7 +79,7 @@ build others/belt_Int.cmj : cc_cmi others/belt_Int.ml | others/belt.cmi others/b
7979
build others/belt_Int.cmi : cc others/belt_Int.mli | runtime
8080
build others/belt_List.cmj : cc_cmi others/belt_List.ml | others/belt.cmi others/belt_Array.cmj others/belt_List.cmi others/belt_SortArray.cmj js_pkg runtime
8181
build others/belt_List.cmi : cc others/belt_List.mli | runtime
82-
build others/belt_Map.cmj : cc_cmi others/belt_Map.ml | others/belt.cmi others/belt_Array.cmj others/belt_Id.cmj others/belt_Map.cmi others/belt_MapDict.cmj others/belt_MapInt.cmj others/belt_MapString.cmj js_pkg runtime
82+
build others/belt_Map.cmj : cc_cmi others/belt_Map.ml | others/belt.cmi others/belt_Id.cmj others/belt_Map.cmi others/belt_MapDict.cmj others/belt_MapInt.cmj others/belt_MapString.cmj js_pkg runtime
8383
build others/belt_Map.cmi : cc others/belt_Map.mli | others/belt.cmi others/belt_Id.cmi others/belt_MapDict.cmi others/belt_MapInt.cmi others/belt_MapString.cmi js_pkg runtime
8484
build others/belt_MapDict.cmj : cc_cmi others/belt_MapDict.ml | others/belt.cmi others/belt_Array.cmj others/belt_Id.cmj others/belt_MapDict.cmi others/belt_internalAVLtree.cmj js_pkg runtime
8585
build others/belt_MapDict.cmi : cc others/belt_MapDict.mli | others/belt.cmi others/belt_Id.cmi js_pkg runtime
@@ -109,7 +109,7 @@ build others/belt_Range.cmj : cc_cmi others/belt_Range.ml | others/belt.cmi othe
109109
build others/belt_Range.cmi : cc others/belt_Range.mli | runtime
110110
build others/belt_Result.cmj : cc_cmi others/belt_Result.ml | others/belt.cmi others/belt_Result.cmi js_pkg runtime
111111
build others/belt_Result.cmi : cc others/belt_Result.mli | runtime
112-
build others/belt_Set.cmj : cc_cmi others/belt_Set.ml | others/belt.cmi others/belt_Array.cmj others/belt_Id.cmj others/belt_Set.cmi others/belt_SetDict.cmj others/belt_SetInt.cmj others/belt_SetString.cmj js_pkg runtime
112+
build others/belt_Set.cmj : cc_cmi others/belt_Set.ml | others/belt.cmi others/belt_Id.cmj others/belt_Set.cmi others/belt_SetDict.cmj others/belt_SetInt.cmj others/belt_SetString.cmj js_pkg runtime
113113
build others/belt_Set.cmi : cc others/belt_Set.mli | others/belt.cmi others/belt_Id.cmi others/belt_SetDict.cmi others/belt_SetInt.cmi others/belt_SetString.cmi js_pkg runtime
114114
build others/belt_SetDict.cmj : cc_cmi others/belt_SetDict.ml | others/belt.cmi others/belt_Array.cmj others/belt_Id.cmj others/belt_SetDict.cmi others/belt_internalAVLset.cmj js_pkg runtime
115115
build others/belt_SetDict.cmi : cc others/belt_SetDict.mli | others/belt.cmi others/belt_Id.cmi js_pkg runtime

Diff for: scripts/ninja.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ async function othersNinja(devmode = true) {
979979

980980
var templateOthersRules = `
981981
${BSC_COMPILER}
982-
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 -nopervasives -unsafe -warn-error A-38 -w -40-49-103 -bin-annot -bs-noassertfalse -open Bs_stdlib_mini -I ./runtime
982+
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 -nopervasives -unsafe -w -40-49-103 -warn-error A -bin-annot -bs-noassertfalse -open Bs_stdlib_mini -I ./runtime
983983
${ruleCC(ninjaCwd)}
984984
${
985985
devmode

0 commit comments

Comments
 (0)