Update examples collection
This commit is contained in:
parent
bd4072b2fa
commit
f54d586953
1 changed files with 22230 additions and 13 deletions
23
emsdk-cache/emsdk-main/bazel/hello-world/BUILD
Normal file
23
emsdk-cache/emsdk-main/bazel/hello-world/BUILD
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
||||
load("//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary")
|
||||
|
||||
cc_binary(
|
||||
name = "hello-world",
|
||||
srcs = ["hello-world.cc"],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
name = "hello-world-simd",
|
||||
srcs = ["hello-world-simd.cc"],
|
||||
)
|
||||
|
||||
wasm_cc_binary(
|
||||
name = "hello-world-wasm",
|
||||
cc_target = ":hello-world",
|
||||
)
|
||||
|
||||
wasm_cc_binary(
|
||||
name = "hello-world-wasm-simd",
|
||||
cc_target = ":hello-world-simd",
|
||||
simd = True,
|
||||
)
|
||||
Loading…
Reference in a new issue