Skip to content

Use a single type arena for all of wasm-compose #2169

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

alexcrichton
Copy link
Member

This commit updates parsing of components in wasm-compose to use the same Validator for all components to ensure that type information is deduplicated. This will also become an API contract required in the upcoming component-model/GC work so this is future-proofing against that change as well.

This commit updates parsing of components in `wasm-compose` to use the
same `Validator` for all components to ensure that type information is
deduplicated. This will also become an API contract required in the
upcoming component-model/GC work so this is future-proofing against that
change as well.
@alexcrichton alexcrichton requested a review from fitzgen April 29, 2025 17:44
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Nice!

@fitzgen fitzgen enabled auto-merge April 29, 2025 17:48
@fitzgen fitzgen added this pull request to the merge queue Apr 29, 2025
Merged via the queue into bytecodealliance:main with commit b6fdcc8 Apr 29, 2025
32 checks passed
@alexcrichton alexcrichton deleted the future-proof-wasm-compose branch April 29, 2025 18:53
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