Skip to content

Commit 520b24f

Browse files
author
Alex Casalboni
committed
update wasm-tools warning for Golang
1 parent 036249f commit 520b24f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • component-model/src/language-support

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ Follow the [TinyGo installation instructions](https://tinygo.org/getting-started
1313

1414
Additionally, install the `wasm-tools` CLI tool from the [wasm-tools repository](https://github.com/bytecodealliance/wasm-tools/releases).
1515

16+
> [!WARNING]
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.
20+
>
21+
> If using the Rust toolchain to install `wasm-tools`, it can be installed like so:
22+
> `cargo install --locked wasm-tools@1.235.0 --force`
23+
> or via cargo binstall:
24+
> `cargo binstall wasm-tools@1.235.0`
25+
1626
To verify the installation, run the following commands:
1727

1828
```

0 commit comments

Comments
 (0)