File tree 1 file changed +6
-0
lines changed
bazel/emscripten_toolchain
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ def _wasm_transition_impl(settings, attr):
26
26
features .append ("wasm_simd" )
27
27
28
28
return {
29
+ "//command_line_option:compiler" : "emscripten" ,
30
+ "//command_line_option:crosstool_top" : "@emsdk//emscripten_toolchain:everything" ,
31
+ "//command_line_option:cpu" : "wasm" ,
29
32
"//command_line_option:features" : features ,
30
33
"//command_line_option:dynamic_mode" : "off" ,
31
34
"//command_line_option:linkopt" : linkopts ,
@@ -36,6 +39,9 @@ def _wasm_transition_impl(settings, attr):
36
39
_wasm_transition = transition (
37
40
implementation = _wasm_transition_impl ,
38
41
inputs = [
42
+ "//command_line_option:compiler" ,
43
+ "//command_line_option:cpu" ,
44
+ "//command_line_option:crosstool_top" ,
39
45
"//command_line_option:features" ,
40
46
"//command_line_option:linkopt" ,
41
47
],
You can’t perform that action at this time.
0 commit comments