Mercurial
diff third_party/emsdk/bazel/BUILD @ 179:8d17f6e6e290
[ThirdParty] Added emsdk bazel rules that can be supported by bazel 9.0.0
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 21:23:17 -0800 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/third_party/emsdk/bazel/BUILD Thu Jan 22 21:23:17 2026 -0800 @@ -0,0 +1,19 @@ +package(default_visibility = ["//visibility:public"]) + +filegroup(name = "empty") + +platform( + name = "platform_wasm", + constraint_values = [ + "@platforms//cpu:wasm32", + "@platforms//os:emscripten", + ], +) + +platform( + name = "platform_wasi", + constraint_values = [ + "@platforms//cpu:wasm32", + "@platforms//os:wasi", + ], +)