Skip to content

Commit 3f48cb9

Browse files
committed
feat(itk-wasm): cli run with wasmtime supports threads
1 parent 1085b92 commit 3f48cb9

File tree

1 file changed

+3
-1
lines changed
  • packages/core/typescript/itk-wasm/src/cli

1 file changed

+3
-1
lines changed

packages/core/typescript/itk-wasm/src/cli/run.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ function run(wasmBinary, options) {
3030
wasmRuntimeArgs = [
3131
'--args',
3232
`${quotes}-e WASMTIME_BACKTRACE_DETAILS=1${quotes}`,
33-
'wasmtime-pwd.sh'
33+
'wasmtime-pwd.sh',
34+
'-W', 'threads',
35+
'-S', 'threads,cli'
3436
]
3537
break
3638
case 'wasmer':

0 commit comments

Comments
 (0)