Explicit outputs for wasm_cc_binary (#1047)

* Explicit outputs for wasm_cc_binary

* Backwards compatibility

* data_runfiles restore

* restore test_bazel.sh

* Using wrong path on accident

* two separate rules for legacy support

* Added name attribute to wasm_cc_binary rule
This commit is contained in:
Ezekiel Warren
2022-05-19 22:09:46 -07:00
committed by GitHub
parent b81dd8177d
commit 71f5fb0247
3 changed files with 130 additions and 70 deletions

View File

@@ -8,6 +8,10 @@ cc_binary(
wasm_cc_binary(
name = "hello-world-wasm",
cc_target = ":hello-world",
outputs = [
"hello-world.js",
"hello-world.wasm",
],
)
BASE_LINKOPTS = [