mirror of https://github.com/bazelbuild/platforms
Define constraint for emscripten os (#84)
This is to be used for Web Assembly, with cpus wasm32/wasm64.
This commit is contained in:
parent
33a3b209f9
commit
6b04b816a0
5
os/BUILD
5
os/BUILD
|
@ -106,6 +106,11 @@ constraint_value(
|
||||||
constraint_setting = ":os",
|
constraint_setting = ":os",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
constraint_value(
|
||||||
|
name = "emscripten",
|
||||||
|
constraint_setting = ":os",
|
||||||
|
)
|
||||||
|
|
||||||
# WASI (WebAssembly System Interface)
|
# WASI (WebAssembly System Interface)
|
||||||
# https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-overview.md
|
# https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-overview.md
|
||||||
constraint_value(
|
constraint_value(
|
||||||
|
|
Loading…
Reference in New Issue