Skip to content

Commit b5826f3

Browse files
committed
Build prover for wasm64
1 parent ecebf8a commit b5826f3

File tree

12 files changed

+409
-364
lines changed

12 files changed

+409
-364
lines changed

.github/workflows/cairo-ci.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,22 @@ jobs:
9494
workspaces: cairo-prove
9595
- run: ./scripts/test_flow.sh
9696

97+
cairo-prover-wasm:
98+
runs-on: ubuntu-latest
99+
defaults:
100+
run:
101+
working-directory: ./stwo_cairo_prover
102+
steps:
103+
- uses: actions/checkout@v3
104+
- uses: dtolnay/rust-toolchain@master
105+
with:
106+
toolchain: nightly-2025-07-14
107+
targets: x86_64-unknown-linux-gnu
108+
components: rust-src
109+
- uses: Swatinem/rust-cache@v2
110+
- name: Build stwo_cairo_prover for wasm64
111+
run: RUSTFLAGS='--cfg getrandom_backend="custom"' cargo check --target wasm64-unknown-unknown -Z build-std=std,panic_abort --package stwo_cairo_prover --release
112+
97113
format:
98114
runs-on: ubuntu-latest
99115
defaults:

0 commit comments

Comments
 (0)