Stream: git-wasmtime

Topic: wasmtime / PR #8727 Overhaul and improve documentation of...


view this post on Zulip Wasmtime GitHub notifications bot (May 31 2024 at 23:31):

alexcrichton opened PR #8727 from alexcrichton:bindgen-docs to bytecodealliance:main:

This is another take at improving the documentation for bindgen! in Wasmtime. This commit takes a leaf out of the book of bytecodealliance/wit-bindgen#871 to organize the documentation of the macro a bit more rather than having one giant doc block that can be difficult to explore. The macro's documentation itself is now mostly a reference of all the options that can be specified. There is now a new documentation-only module which serves a few purposes:

My hope is that this makes it easier to expand the docs here further over time with niche features as they arise or with various options that the macro has. This is one of the lynchpins of Wasmtime's support for the component model so it seems pretty important to have a good onboarding experience here.

Along the way I've implemented a few more niche options for the bindgen! macro that I found necessary, such as configuring the wasmtime crate and where it's located.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2024 at 23:31):

alexcrichton requested fitzgen for a review on PR #8727.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2024 at 23:31):

alexcrichton requested wasmtime-core-reviewers for a review on PR #8727.

view this post on Zulip Wasmtime GitHub notifications bot (May 31 2024 at 23:31):

alexcrichton requested wasmtime-default-reviewers for a review on PR #8727.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2024 at 17:58):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2024 at 14:05):

alexcrichton merged PR #8727.


Last updated: Nov 22 2024 at 17:03 UTC