Skip to content

Conversation

@Gentle
Copy link
Contributor

@Gentle Gentle commented Jan 11, 2026

when compiling wasmtime-wizer to wasm32, rayon detects that and tries to use wasm-bindgen APIs

the new rayon feature flag allows users to choose if snapshotting should be parallel or sequential

since it changes behavior, I made the feature default, but this could be changed if the crate should not have default features

@Gentle Gentle requested a review from a team as a code owner January 11, 2026 19:18
@Gentle Gentle requested review from alexcrichton and removed request for a team January 11, 2026 19:18
when compiling wasmtime-wizer to wasm32, rayon detects that and tries to
use wasm-bindgen APIs

the new rayon feature flag allows users to choose if snapshotting should
be parallel or sequential
@Gentle Gentle force-pushed the feat-wizer_rayoff branch from 4f12c0d to 27473c1 Compare January 11, 2026 19:23
@github-actions github-actions bot added the wizer Issues related to Wizer snapshotting, pre-initialization, and the `wasmtime wizer` subcommand label Jan 11, 2026
@github-actions
Copy link

Subscribe to Label Action

cc @fitzgen

Details This issue or pull request has been labeled: "wizer"

Thus the following users have been cc'd because of the following labels:

  • fitzgen: wizer

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can you add a check to CI as well, somewhere around here, that the crate builds without the rayon feature too?

@Gentle Gentle requested a review from a team as a code owner January 12, 2026 15:58
@Gentle Gentle requested review from dicej and removed request for a team January 12, 2026 15:58
@alexcrichton alexcrichton added this pull request to the merge queue Jan 12, 2026
Merged via the queue into bytecodealliance:main with commit 7981473 Jan 12, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wizer Issues related to Wizer snapshotting, pre-initialization, and the `wasmtime wizer` subcommand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants