Skip to content

Provide example usage in wasmtime::component mod doc#8256

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
rylev:example-usage-doc
Mar 28, 2024
Merged

Provide example usage in wasmtime::component mod doc#8256
alexcrichton merged 1 commit intobytecodealliance:mainfrom
rylev:example-usage-doc

Conversation

@rylev
Copy link
Contributor

@rylev rylev commented Mar 28, 2024

This might be slightly controversial as I think we want to push users towards using wasmtime::component::bindgen!, but it seems appropriate at the module level to show some simple code that gives an overview of what the module provides.

Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
@rylev rylev requested a review from a team as a code owner March 28, 2024 10:05
@rylev rylev requested review from alexcrichton and removed request for a team March 28, 2024 10:05
@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Mar 28, 2024
@github-actions
Copy link

Subscribe to Label Action

cc @peterhuene

Details This issue or pull request has been labeled: "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

Looks great to me, thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Mar 28, 2024
Merged via the queue into bytecodealliance:main with commit 7f32b9e Mar 28, 2024
@rylev rylev deleted the example-usage-doc branch March 28, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants