Mercurial
view third_party/emsdk/bazel/hello-world/BUILD @ 198:008ca7780c8a
S3 upload got it to work.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 14 Feb 2026 16:18:14 -0800 |
| parents | 8d17f6e6e290 |
| children |
line wrap: on
line source
load("@rules_cc//cc:defs.bzl", "cc_binary") load("@emsdk//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, )