Mercurial
comparison third_party/emsdk/bazel/hello-world/BUILD @ 186:8cf4ec5e2191 hg-web
Fixed merge conflict.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:38:59 -0800 |
| parents | 8d17f6e6e290 |
| children |
comparison
equal
deleted
inserted
replaced
| 176:fed99fc04e12 | 186:8cf4ec5e2191 |
|---|---|
| 1 load("@rules_cc//cc:defs.bzl", "cc_binary") | |
| 2 load("@emsdk//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary") | |
| 3 | |
| 4 cc_binary( | |
| 5 name = "hello-world", | |
| 6 srcs = ["hello-world.cc"], | |
| 7 ) | |
| 8 | |
| 9 cc_binary( | |
| 10 name = "hello-world-simd", | |
| 11 srcs = ["hello-world-simd.cc"], | |
| 12 ) | |
| 13 | |
| 14 wasm_cc_binary( | |
| 15 name = "hello-world-wasm", | |
| 16 cc_target = ":hello-world", | |
| 17 ) | |
| 18 | |
| 19 wasm_cc_binary( | |
| 20 name = "hello-world-wasm-simd", | |
| 21 cc_target = ":hello-world-simd", | |
| 22 simd = True, | |
| 23 ) |