Skip to content

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

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:bindgen-gen-only-one
Apr 10, 2023
Merged

Mirror default-owned change for guests in wit-bindgen#6189
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:bindgen-gen-only-one

Conversation

@alexcrichton
Copy link
Copy Markdown
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