Skip to content

Commit

Permalink
Define constraint for emscripten os (#84)
Browse files Browse the repository at this point in the history
This is to be used for Web Assembly, with cpus wasm32/wasm64.
  • Loading branch information
googlewalt authored Jan 9, 2024
1 parent 33a3b20 commit 6b04b81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions os/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6b04b81

Please sign in to comment.