Skip to content

build(zcash-wasm): cargo aliases + indexmap/std shim#4

Merged
Catopish merged 1 commit into
masterfrom
feat/zcash-wasm-build-flags
Apr 23, 2026
Merged

build(zcash-wasm): cargo aliases + indexmap/std shim#4
Catopish merged 1 commit into
masterfrom
feat/zcash-wasm-build-flags

Conversation

@Catopish

Copy link
Copy Markdown
Contributor
  • Add cargo aliases in .cargo/config.toml: wasm-parallel (needs +nightly) and wasm-single so the parallel zcash-wasm build recipe isn't opaque folklore. Consumers run cargo +nightly wasm-parallel to produce the .wasm.
  • Force indexmap/std feature in zafu-wasm's Cargo.toml — newer nightlies don't set indexmap's has_std cfg under -Z build-std, so halo2_proofs's IndexMap::new() won't compile. Build-time unification only, no runtime effect.

- Add cargo aliases in .cargo/config.toml: `wasm-parallel` (needs
  +nightly) and `wasm-single` so the parallel zcash-wasm build
  recipe isn't opaque folklore. Consumers run `cargo +nightly
  wasm-parallel` to produce the .wasm.
- Force indexmap/std feature in zafu-wasm's Cargo.toml — newer
  nightlies don't set indexmap's `has_std` cfg under `-Z build-std`,
  so halo2_proofs's `IndexMap::new()` won't compile. Build-time
  unification only, no runtime effect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Catopish Catopish merged commit 5638a21 into master Apr 23, 2026
1 check failed
@Catopish Catopish deleted the feat/zcash-wasm-build-flags branch April 23, 2026 11:50
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