Remove wasm-tools warning for Golang#284
Remove wasm-tools warning for Golang#284vados-cosmonic merged 2 commits intobytecodealliance:mainfrom
Conversation
|
Hey @alexcasalboni thanks for making this PR -- could we add something that tells people which version this works with? It would be useful to know the lower bound on the version they should be using until we're well clear of the broken versions. |
|
@vados-cosmonic afaik, the issue this warning mentions was just a temporary issue with So this is fixed since |
|
Yep, that's right -- the fix was made in A line like "Please ensure you're using version wit-bindgen-go v0.6.2 or above" should make it easy to avoid that situation. If this situation is incredibly unlikely then we can skip it though. |
|
Yes correct, the fix was made in I was looking for a way to pinpoint the So my understanding is that we're ok with saying "Automatically use the latest Just in case, I've done some additional tests to confirm that the latest version of @ydnar could you please share your thoughts here? I think I am missing something important 🙏 |
|
Update: I have realised that See here: tinygo-org/tinygo#4587 @vados-cosmonic so the warning I'm trying to remove isn't about Thoughts? |
|
Hmmm OK, so we'd probably want to go through the guide with newer versions of all the tools and make sure things still work smoothly... Along with that, we'd probably want to include a warning that points to versioning being somewhat touchy -- more to encourage people to make sure they have the exact versions (or newer) that we're using in the guide. How does that sound? |
|
Agreed 👍 We could keep a warning like this: > [!WARNING]
> `wit-bindgen-go` comes with its own `wasm-tools` vendored version, but tinygo still requires you to install it.
> Even if unlikely, this could lead to version mismatch when using older versions of `wasm-tools`.
> Please make sure to keep your local `wasm-tools` udpated, should you encounter any issues.
>
> If using the Rust toolchain to install `wasm-tools`, it can be installed like so:
> `cargo install --locked wasm-tools@1.235.0 --force`
> or via cargo binstall:
> `cargo binstall wasm-tools@1.235.0`(please feel free to rephase) |
|
That's excellent! If you want to put it in this PR that would be great -- then we can replace the current warning with this one. |
|
Updated :) |
vados-cosmonic
left a comment
There was a problem hiding this comment.
Thanks for this update, @alexcasalboni !
…#284) * remove wasm-tools warning for Golang * update wasm-tools warning for Golang
This has been fixed in bytecodealliance/go-modules#298
Also see the discussion in bytecodealliance/go-modules#297
I've re-tested today and it's working fine with the latest too (
wasm-tools@1.235.0) 👌