Skip to content
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

Mirror default-owned change for guests in wit-bindgen #6189

Merged

Conversation

alexcrichton
Copy link
Member

This commit is a mirror of bytecodealliance/wit-bindgen#547 into the bindgen! macro for Wasmtime. The new default is to generate only one Rust type per WIT type input, regardless of if the representation can be slightly more optimal in niche cases with more borrows. This should make the macro easier to work with in the limit ideally.

Closes #6124

This commit is a mirror of bytecodealliance/wit-bindgen#547 into the
`bindgen!` macro for Wasmtime. The new default is to generate only one
Rust type per WIT type input, regardless of if the representation can be
slightly more optimal in niche cases with more borrows. This should make
the macro easier to work with in the limit ideally.

Closes bytecodealliance#6124
@alexcrichton alexcrichton requested a review from a team as a code owner April 10, 2023 14:54
@alexcrichton alexcrichton requested review from pchickey and removed request for a team April 10, 2023 14:54
@alexcrichton alexcrichton added this pull request to the merge queue Apr 10, 2023
Merged via the queue into bytecodealliance:main with commit 83a8ca7 Apr 10, 2023
@alexcrichton alexcrichton deleted the bindgen-gen-only-one branch April 10, 2023 17:00
brendandburns pushed a commit to brendandburns/wasmtime that referenced this pull request Apr 13, 2023
…ance#6189)

This commit is a mirror of bytecodealliance/wit-bindgen#547 into the
`bindgen!` macro for Wasmtime. The new default is to generate only one
Rust type per WIT type input, regardless of if the representation can be
slightly more optimal in niche cases with more borrows. This should make
the macro easier to work with in the limit ideally.

Closes bytecodealliance#6124
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.

Update host bindgen to match wit-bindgen's owned type generation
2 participants