Skip to content

Re-export wasmparser for easier type compatibility #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

adambratschikaye
Copy link
Contributor

This change adds a public re-export of the wasmparser crate in lib.rs, allowing users to access the same wasmparser types (like wasmparser::Operator) that are used internally by wirm. This improves type compatibility and reduces the need for users to keep their version of wasmparser synced to the version used by wirm.

adambratschikaye and others added 2 commits July 16, 2025 09:54
This change adds a public re-export of the `wasmparser` crate in
`lib.rs`, allowing users to access the same wasmparser types (like
`wasmparser::Operator`) that are used internally by `wirm`. This
improves type compatibility and reduces the need for users to keep their
version of `wasmparser` synced to the version used by `wirm`.
Copy link
Collaborator

@ejrgilbert ejrgilbert left a comment

Choose a reason for hiding this comment

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

Thanks for the commit! This is smart, I hadn't thought of doing this before.

@ejrgilbert ejrgilbert merged commit 0267e50 into composablesys:main Jul 17, 2025
2 checks passed
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