Skip to content

Commit 783f916

Browse files
author
Alex Casalboni
authored
fix(langs/go): remove wasm-tools warning for Golang (#284)
* remove wasm-tools warning for Golang * update wasm-tools warning for Golang
1 parent 571f250 commit 783f916

File tree

1 file changed

+6
-2
lines changed
  • component-model/src/language-support

1 file changed

+6
-2
lines changed

component-model/src/language-support/go.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ Follow the [TinyGo installation instructions](https://tinygo.org/getting-started
1414
Additionally, install the `wasm-tools` CLI tool from the [wasm-tools repository](https://github.com/bytecodealliance/wasm-tools/releases).
1515

1616
> [!WARNING]
17-
> Due to some upstream issues, only `wasm-tools` versions 1.225.0 or earlier can be used with `wit-bindgen-go`
17+
> `wit-bindgen-go` comes with its own `wasm-tools` vendored version, but tinygo still requires you to install it.
18+
> Even if unlikely, this could lead to version mismatch when using older versions of `wasm-tools`.
19+
> Please make sure to keep your local `wasm-tools` udpated, should you encounter any issues.
1820
>
1921
> If using the Rust toolchain to install `wasm-tools`, it can be installed like so:
20-
> `cargo install --locked wasm-tools@1.225.0 --force`
22+
> `cargo install --locked wasm-tools@1.235.0 --force`
23+
> or via cargo binstall:
24+
> `cargo binstall wasm-tools@1.235.0`
2125
2226
To verify the installation, run the following commands:
2327

0 commit comments

Comments
 (0)