diff options
author | Walter Lee <49250218+googlewalt@users.noreply.github.com> | 2024-01-09 12:32:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 12:32:47 -0500 |
commit | 6b04b816a0edc09e1a3ad4a094177e181a2a1803 (patch) | |
tree | 763382da2e76e392e82c0d1ce73dfe7460b227f1 | |
parent | 33a3b209f94856193266871b1545054afb90bb28 (diff) | |
download | bazelbuild-platforms-6b04b816a0edc09e1a3ad4a094177e181a2a1803.tar.gz |
Define constraint for emscripten os (#84)
This is to be used for Web Assembly, with cpus wasm32/wasm64.
-rw-r--r-- | os/BUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -106,6 +106,11 @@ constraint_value( constraint_setting = ":os", ) +constraint_value( + name = "emscripten", + constraint_setting = ":os", +) + # WASI (WebAssembly System Interface) # https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-overview.md constraint_value( |