Kylebrown9 opened issue #5833:
Currently the
wasmtime-component-macro
crate pulls in^3.0
of thewit-parser
crate and is missing what appear to be significant improvements since0.3.1
.For example, the version it pulls in doesn't understand the
default
keyword and gives the following confusing error which has since been fixed.expected `default`, `world` or `interface`, found keyword `default` | 7 | default world template { | ^------
alexcrichton commented on issue #5833:
I think you were using Wasmtime 5.0.0 from crates.io perhaps? If that's the case then the Wasmtime 6.0.0 version should suffice as that, and
main
, depend on tha latestwit-parser
. I'm going to go ahead and close this as I think that addresses the issues here, but let me know if there's still problems.
alexcrichton closed issue #5833:
Currently the
wasmtime-component-macro
crate pulls in^3.0
of thewit-parser
crate and is missing what appear to be significant improvements since0.3.1
.For example, the version it pulls in doesn't understand the
default
keyword and gives the following confusing error which has since been fixed.expected `default`, `world` or `interface`, found keyword `default` | 7 | default world template { | ^------
Last updated: Dec 23 2024 at 13:07 UTC