Kylebrown9 opened issue #6936:
The arguments are not documented and the only way to figure out what they are easily is to dig through the arguments parsing source.
The possible arguments and common combinations of them should be documented in the README for
wasmtime_component_macro
.
alexcrichton commented on issue #6936:
The intention is that the macro has rustdoc documentation, but that may not be the most up-to-date. If anything is missing though I think it should go here
Kylebrown9 commented on issue #6936:
Ah, I had been using it directly and if you do so that documentation does not come up.
wasmtime = { version = "10.0", features = ["component-model"]} wasmtime-component-macro = "10.0"
and
use wasmtime_component_macro::bindgen; bindgen!({ ... });
We should probably put a readme/comments up that point users towards using it as an export of the wasmtime crate in
wasmtime_component_macro
and link them to that rustdoc as well.
Last updated: Nov 22 2024 at 17:03 UTC