aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Lee <49250218+googlewalt@users.noreply.github.com>2024-01-09 12:32:47 -0500
committerGitHub <noreply@github.com>2024-01-09 12:32:47 -0500
commit6b04b816a0edc09e1a3ad4a094177e181a2a1803 (patch)
tree763382da2e76e392e82c0d1ce73dfe7460b227f1
parent33a3b209f94856193266871b1545054afb90bb28 (diff)
downloadbazelbuild-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/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/BUILD b/os/BUILD
index ae6e8b0..8e9f990 100644
--- a/os/BUILD
+++ b/os/BUILD
@@ -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(