Skip to content

Commit d12451b

Browse files
committed
[bazel] Fix tests
1 parent b950a5f commit d12451b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bazel/.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
build:wasm32 --incompatible_enable_cc_toolchain_resolution
1+
build:wasm32 --incompatible_enable_cc_toolchain_resolution
2+
build:wasm --incompatible_enable_cc_toolchain_resolution

bazel/emscripten_toolchain/wasm_cc_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _wasm_transition_impl(settings, attr):
2929
"//command_line_option:features": features,
3030
"//command_line_option:dynamic_mode": "off",
3131
"//command_line_option:linkopt": linkopts,
32-
"//command_line_option:platforms": [],
32+
"//command_line_option:platforms": ["@emsdk//:cpu_wasm32"],
3333
"//command_line_option:custom_malloc": "@emsdk//emscripten_toolchain:malloc",
3434
}
3535

0 commit comments

Comments
 (0)