Stream: git-wasmtime

Topic: wasmtime / issue #5833 Bump version of `wit-parser` in `w...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 19 2023 at 02:56):

Kylebrown9 opened issue #5833:

Currently the wasmtime-component-macro crate pulls in ^3.0 of the wit-parser crate and is missing what appear to be significant improvements since 0.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 {
      | ^------

source

view this post on Zulip Wasmtime GitHub notifications bot (Feb 21 2023 at 13:50):

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 latest wit-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.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 21 2023 at 13:50):

alexcrichton closed issue #5833:

Currently the wasmtime-component-macro crate pulls in ^3.0 of the wit-parser crate and is missing what appear to be significant improvements since 0.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 {
      | ^------

source


Last updated: Nov 22 2024 at 16:03 UTC