summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/wasm/wasm_build.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tools/wasm/wasm_build.py b/Tools/wasm/wasm_build.py
index 241a5d4..c994705 100755
--- a/Tools/wasm/wasm_build.py
+++ b/Tools/wasm/wasm_build.py
@@ -480,7 +480,6 @@ class BuildProfile:
cmd.append(f"--{opt}-wasm-dynamic-linking")
if self.pthreads is not None:
- assert self.host.is_emscripten
opt = "enable" if self.pthreads else "disable"
cmd.append(f"--{opt}-wasm-pthreads")
@@ -745,6 +744,13 @@ _profiles = [
support_level=SupportLevel.supported,
host=Host.wasm32_wasi,
),
+ # wasm32-wasi-threads
+ BuildProfile(
+ "wasi-threads",
+ support_level=SupportLevel.experimental,
+ host=Host.wasm32_wasi,
+ pthreads=True,
+ ),
# no SDK available yet
# BuildProfile(
# "wasm64-wasi",