Skip to content

Commit 4a2b500

Browse files
committed
Wizard SPC
1 parent 1e43b31 commit 4a2b500

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/wasm_of_ocaml.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,14 @@ jobs:
231231
WASI_FLAGS: --enable exnref
232232
run: opam exec -- dune build @runtest-wasm --profile wasi
233233

234+
- name: Run tests (WASI runtime - Wizard engine - SPC)
235+
if: ${{ matrix.wasi }}
236+
working-directory: ./wasm_of_ocaml
237+
env:
238+
WASM_ENGINE: wizard-spc
239+
WASI_FLAGS: --enable exnref
240+
run: opam exec -- dune build @runtest-wasm --profile wasi
241+
234242
- name: Run Base tests
235243
if: matrix.all_jane_street_tests
236244
continue-on-error: ${{ matrix.os == 'windows-latest' }}

tools/node_wrapper.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ let exe, args =
6262
match Node_wrapper_per_engine.engine with
6363
| "wizard" -> "wizeng.x86-linux", wizard_args @ common_args file argv
6464
| "wizard-fast" -> "wizeng.x86-64-linux", wizard_args @ common_args file argv
65+
| "wizard-spc" ->
66+
( "wizeng.x86-64-linux"
67+
, ("--mode=jit" :: wizard_args) @ common_args file argv )
6568
| "wasmtime" -> "wasmtime", wasmtime_args @ common_args file argv
6669
| "wasmedge" -> "wasmedge", wasmedge_args @ common_args file argv
6770
| _ -> "node", extra_args_for_wasoo @ argv)

0 commit comments

Comments
 (0)