Skip to content

Rework only_interfaces to the interfaces field#6210

Merged
pchickey merged 3 commits into
bytecodealliance:mainfrom
elliottt:trevor/rework-only-interfaces-args
Apr 13, 2023
Merged

Rework only_interfaces to the interfaces field#6210
pchickey merged 3 commits into
bytecodealliance:mainfrom
elliottt:trevor/rework-only-interfaces-args

Conversation

@elliottt
Copy link
Copy Markdown
Member

@elliottt elliottt commented Apr 13, 2023

Allow imports to be inlined into a use of the bindgen! macro, instead of requiring a full world to be written, or world file to be referenced. The change in syntax is that instead of referencing a world file and passing only_interfaces, you now pass just the interfaces field with the textual imports you would like to reference.

@elliottt elliottt requested a review from a team as a code owner April 13, 2023 21:40
@elliottt elliottt requested review from alexcrichton and pchickey and removed request for a team April 13, 2023 21:40
@pchickey pchickey enabled auto-merge April 13, 2023 21:55
@pchickey pchickey added this pull request to the merge queue Apr 13, 2023
Merged via the queue into bytecodealliance:main with commit 9425a25 Apr 13, 2023
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Apr 16, 2023
…6210)

* Rework `only_interfaces` to the `interfaces` field

* Fix the docs

* Remove only_interfaces test from the component-macro package
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