Skip to content

Commit 0b1502a

Browse files
committed
remove bsc as path
1 parent 735d43b commit 0b1502a

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

jscomp/bsb/bsb_ninja_gen.ml

-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ let output_ninja_and_namespace_map
179179

180180
let warnings = Bsb_warning.to_bsb_string ~package_kind warning in
181181
let bsc_flags = (get_bsc_flags bsc_flags) in
182-
let bsc_path = (Ext_filename.maybe_quote Bsb_global_paths.vendor_bsc) in
183182
let dpkg_incls = (Bsb_build_util.include_dirs_by
184183
bs_dev_dependencies
185184
(fun x -> x.package_install_path)) in
@@ -227,7 +226,6 @@ let output_ninja_and_namespace_map
227226
~namespace
228227
~digest
229228
~package_name
230-
~bsc:bsc_path
231229
~warnings
232230
~ppx_files
233231
~bsc_flags

jscomp/bsb/bsb_ninja_rule.ml

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ let make_custom_rules
123123
~(package_specs: Bsb_package_specs.t)
124124
~(namespace : string option)
125125
~package_name
126-
~bsc
127126
~warnings
128127
~(ppx_files : Bsb_config_types.ppx list)
129128
~bsc_flags
@@ -133,7 +132,7 @@ let make_custom_rules
133132
(custom_rules : command Map_string.t) :
134133
builtin =
135134
let bs_dep = Ext_filename.maybe_quote Bsb_global_paths.vendor_bsdep in
136-
135+
let bsc = Ext_filename.maybe_quote Bsb_global_paths.vendor_bsc in
137136
(** FIXME: We don't need set [-o ${out}] when building ast
138137
since the default is already good -- it does not*)
139138
let buf = Ext_buffer.create 100 in

jscomp/bsb/bsb_ninja_rule.mli

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ val make_custom_rules :
7979
package_specs:Bsb_package_specs.t ->
8080
namespace:string option ->
8181
package_name:string ->
82-
bsc:string ->
8382
warnings:string ->
8483
ppx_files:Bsb_config_types.ppx list ->
8584
bsc_flags:string ->

lib/4.06.1/bsb.ml

+1-5
Original file line numberDiff line numberDiff line change
@@ -12741,7 +12741,6 @@ val make_custom_rules :
1274112741
package_specs:Bsb_package_specs.t ->
1274212742
namespace:string option ->
1274312743
package_name:string ->
12744-
bsc:string ->
1274512744
warnings:string ->
1274612745
ppx_files:Bsb_config_types.ppx list ->
1274712746
bsc_flags:string ->
@@ -12879,7 +12878,6 @@ let make_custom_rules
1287912878
~(package_specs: Bsb_package_specs.t)
1288012879
~(namespace : string option)
1288112880
~package_name
12882-
~bsc
1288312881
~warnings
1288412882
~(ppx_files : Bsb_config_types.ppx list)
1288512883
~bsc_flags
@@ -12889,7 +12887,7 @@ let make_custom_rules
1288912887
(custom_rules : command Map_string.t) :
1289012888
builtin =
1289112889
let bs_dep = Ext_filename.maybe_quote Bsb_global_paths.vendor_bsdep in
12892-
12890+
let bsc = Ext_filename.maybe_quote Bsb_global_paths.vendor_bsc in
1289312891
(** FIXME: We don't need set [-o ${out}] when building ast
1289412892
since the default is already good -- it does not*)
1289512893
let buf = Ext_buffer.create 100 in
@@ -13682,7 +13680,6 @@ let output_ninja_and_namespace_map
1368213680

1368313681
let warnings = Bsb_warning.to_bsb_string ~package_kind warning in
1368413682
let bsc_flags = (get_bsc_flags bsc_flags) in
13685-
let bsc_path = (Ext_filename.maybe_quote Bsb_global_paths.vendor_bsc) in
1368613683
let dpkg_incls = (Bsb_build_util.include_dirs_by
1368713684
bs_dev_dependencies
1368813685
(fun x -> x.package_install_path)) in
@@ -13730,7 +13727,6 @@ let output_ninja_and_namespace_map
1373013727
~namespace
1373113728
~digest
1373213729
~package_name
13733-
~bsc:bsc_path
1373413730
~warnings
1373513731
~ppx_files
1373613732
~bsc_flags

0 commit comments

Comments
 (0)