Skip to content

Commit abdb376

Browse files
committed
Wizard SPC
1 parent 9396373 commit abdb376

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
@@ -234,6 +234,14 @@ jobs:
234234
WASI_FLAGS: --enable exnref
235235
run: opam exec -- dune build @runtest-wasm --profile wasi
236236

237+
- name: Run tests (WASI runtime - Wizard engine - SPC)
238+
if: ${{ matrix.wasi }}
239+
working-directory: ./wasm_of_ocaml
240+
env:
241+
WASM_ENGINE: wizard-spc
242+
WASI_FLAGS: --enable exnref
243+
run: opam exec -- dune build @runtest-wasm --profile wasi
244+
237245
- name: Run Base tests
238246
if: matrix.all_jane_street_tests
239247
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)