Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit is similar to #1390 in that the goal is to enable external
systems to use the Rust bindings here without requiring the exact shape
of the vtable structure and such. This is, for example, intended to be
useful when working on wit-dylib.

As usage expands a bit beyond just this crate it can be useful to have
mutability in the guts of the implementation. It's also easy enough to
provide this everywhere so it's not much of a burden to plumb it around.
This commit is similar to bytecodealliance#1390 in that the goal is to enable external
systems to use the Rust bindings here without requiring the exact shape
of the vtable structure and such. This is, for example, intended to be
useful when working on `wit-dylib`.
@alexcrichton alexcrichton requested a review from dicej November 6, 2025 22:03
@alexcrichton alexcrichton added this pull request to the merge queue Nov 10, 2025
Merged via the queue into bytecodealliance:main with commit 56f7fce Nov 10, 2025
22 checks passed
@alexcrichton alexcrichton deleted the future-refactoring branch November 10, 2025 16:33
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