Define constraint for emscripten os (#84)

This is to be used for Web Assembly, with cpus wasm32/wasm64.
This commit is contained in:
Walter Lee 2024-01-09 12:32:47 -05:00 committed by GitHub
parent 33a3b209f9
commit 6b04b816a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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(