From 6b04b816a0edc09e1a3ad4a094177e181a2a1803 Mon Sep 17 00:00:00 2001 From: Walter Lee <49250218+googlewalt@users.noreply.github.com> Date: Tue, 9 Jan 2024 12:32:47 -0500 Subject: [PATCH] Define constraint for emscripten os (#84) This is to be used for Web Assembly, with cpus wasm32/wasm64. --- os/BUILD | 5 +++++ 1 file changed, 5 insertions(+) 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(