Skip to content

Add wasm tooling crate to v1#452

Draft
dcbuild3r wants to merge 2 commits into
v1from
dcbuilder/v1-wasm
Draft

Add wasm tooling crate to v1#452
dcbuild3r wants to merge 2 commits into
v1from
dcbuilder/v1-wasm

Conversation

@dcbuild3r
Copy link
Copy Markdown
Collaborator

What changed

  • Added the tooling/provekit-wasm crate from main to the v1 workspace.
  • Wired the wasm crate into the workspace manifest and lockfile.
  • Added the wasm32-unknown-unknown rustflags required by wasm-bindgen-rayon.
  • Adapted the copied wasm bindings for v1 artifacts: v1 uses a 20-byte binary header and has Prover as a struct rather than the newer main enum shape.

Why

This brings the wasm tooling crate onto the v1 branch while keeping the implementation scoped to the wasm package and the build configuration it needs.

Validation

  • cargo fmt --all --check
  • cargo check -p provekit-wasm --target wasm32-unknown-unknown -Z build-std=panic_abort,std
  • cargo test -p provekit-wasm --lib (15 passed)

The focused checks pass. The build still reports existing warnings from the v1 verifier FinalClaim handling and the expected unstable wasm atomics target-feature warning.

dcbuild3r and others added 2 commits June 3, 2026 16:59
The single monolithic "Build and test" job ran fmt, clippy, build, test,
doc-test, and doc sequentially on one runner. Each `--all-targets
--all-features` cargo invocation accumulated artifacts on the same disk.
Adding the `provekit-wasm` crate and its dependency tree (wasm-bindgen,
web-sys, etc.) pushed that single disk over the limit, causing the build
step to fail with "No space left on device".

Split into separate build/clippy/fmt/doc jobs, each on its own runner with
a fresh disk, mirroring the structure already used on `main`. Clippy was
already passing before the failure, confirming the workspace (including the
wasm crate) compiles for the host target; this is purely a disk-capacity
fix, not a source change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant