Skip to content

feat: don't spawn threads when computing hashes in a zkVM#1945

Open
leruaa wants to merge 1 commit intocontentauth:mainfrom
succinctlabs:leruaa/zkvm_hash
Open

feat: don't spawn threads when computing hashes in a zkVM#1945
leruaa wants to merge 1 commit intocontentauth:mainfrom
succinctlabs:leruaa/zkvm_hash

Conversation

@leruaa
Copy link
Copy Markdown

@leruaa leruaa commented Mar 17, 2026

Changes in this pull request

Extend the WASM fallback path in hash_stream_by_alg to also apply when targeting a zkvm. zkVM environments lack OS-level primitives like threading, so they require the same portable, sequential range-based read loop used for WASM.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

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.

2 participants