Skip to content

Commit 836d2ff

Browse files
committed
Add back in compiler, crosstool_top, cpu options
1 parent 37fd486 commit 836d2ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bazel/emscripten_toolchain/wasm_cc_binary.bzl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def _wasm_transition_impl(settings, attr):
2626
features.append("wasm_simd")
2727

2828
return {
29+
"//command_line_option:compiler": "emscripten",
30+
"//command_line_option:crosstool_top": "@emsdk//emscripten_toolchain:everything",
31+
"//command_line_option:cpu": "wasm",
2932
"//command_line_option:features": features,
3033
"//command_line_option:dynamic_mode": "off",
3134
"//command_line_option:linkopt": linkopts,
@@ -40,6 +43,9 @@ _wasm_transition = transition(
4043
"//command_line_option:linkopt",
4144
],
4245
outputs = [
46+
"//command_line_option:compiler",
47+
"//command_line_option:cpu",
48+
"//command_line_option:crosstool_top",
4349
"//command_line_option:features",
4450
"//command_line_option:dynamic_mode",
4551
"//command_line_option:linkopt",

0 commit comments

Comments
 (0)