Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit refactors how the error-context type in the async component model implementation is modeled within these crates. Previously it was listed as a "defined type" but the binary encoding and component model itself has it listed as a "primitive type". While mostly the same the distinction is subtle enough (e.g. around naming rules) that this commit refactors the wasm-tools crates to match the component model specification.

This commit refactors how the `error-context` type in the async
component model implementation is modeled within these crates.
Previously it was listed as a "defined type" but the binary encoding and
component model itself has it listed as a "primitive type". While mostly
the same the distinction is subtle enough (e.g. around naming rules)
that this commit refactors the wasm-tools crates to match the component
model specification.
@alexcrichton alexcrichton requested a review from dicej February 20, 2025 21:39
@alexcrichton alexcrichton added this pull request to the merge queue Feb 20, 2025
Merged via the queue into bytecodealliance:main with commit 1f8cdce Feb 20, 2025
31 checks passed
@alexcrichton alexcrichton deleted the refactor-error-context branch February 20, 2025 21:55
ydnar added a commit to bytecodealliance/go-modules that referenced this pull request Mar 2, 2025
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