Skip to content

docs(language-support/rust): update wit-bindgen syntax and resource t… - #363

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
gm305:docs/update-rust-wit-bidgen-guides
Jul 29, 2026
Merged

docs(language-support/rust): update wit-bindgen syntax and resource t…#363
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
gm305:docs/update-rust-wit-bidgen-guides

Conversation

@gm305

@gm305 gm305 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
  • Added "generate_all" to "wit_bindgen::generate!()" to properly generate code for imported interfaces
  • Calling "bindings::export!(Component)" externally now fails with "cannot find export in self", so i deleted it
  • Updated trait implementation paths to include the "exports" submodule

@gm305
gm305 requested a review from vados-cosmonic as a code owner July 29, 2026 10:38

@vados-cosmonic vados-cosmonic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Thanks for the improvements here @gm305 !

@vados-cosmonic
vados-cosmonic merged commit 58b70c3 into bytecodealliance:main Jul 29, 2026
11 checks passed
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