Skip to content

Commit 366de65

Browse files
authored
docs(go): update README.md (#1451)
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
1 parent 4284ea8 commit 366de65

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

README.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ between bindings definitions.
3131

3232
The `wit-bindgen` repository is currently focused on **guest** programs which
3333
are those compiled to WebAssembly. Languages developed in this repository are
34-
Rust, C, C++, and C#. For other languages see the [documentation
34+
Rust, C, C++, C#, and Go. For other languages see the [documentation
3535
below](#guest-other-languages).
3636

3737
Executing a component in a host is not
@@ -368,6 +368,11 @@ Check out [componentize-dotnet](https://github.com/bytecodealliance/componentize
368368

369369
See the [wit-bindgen-go README.md](crates/go/README.md) for details and generating and using Go bindings.
370370

371+
### Guest: TinyGo
372+
373+
>[!WARNING]
374+
>The TinyGo WIT bindings generator found at the [go.bytecodealliance.org](https://github.com/bytecodealliance/go-modules) is no longer being maintained. It is recommended to migrate to [Guest: Go](#guest-go).
375+
371376
### Guest: Java
372377

373378
This project historically had some support for
@@ -376,24 +381,6 @@ a long time and never was at feature parity with other generators, so it was
376381
removed. The last commit with support for TeaVM-WASI was
377382
https://github.com/bytecodealliance/wit-bindgen/commit/86e8ae2b8b97f11b73b273345b0e00340f017270.
378383

379-
### Guest: TinyGo
380-
381-
The **new** TinyGo WIT bindings generator is currently in development at the
382-
[go.bytecodealliance.org](https://github.com/bytecodealliance/go-modules) repository.
383-
384-
To install the `wit-bindgen-go` CLI, run:
385-
386-
```sh
387-
go install go.bytecodealliance.org/cmd/wit-bindgen-go@latest
388-
```
389-
> Note: it requires `wasm-tools` to be installed.
390-
391-
Then, you can generate the bindings for your project:
392-
393-
```sh
394-
wit-bindgen-go generate <path-to-wit-pkg>
395-
```
396-
397384
### Guest: C++-17+
398385

399386
The cpp crate contains code to generate C++ code which uses the std types
@@ -434,7 +421,6 @@ A (non-exhaustive) list of other languages known to support components are:
434421

435422
* JavaScript through [componentize-js](https://github.com/bytecodealliance/ComponentizeJS)
436423
* Python through [componentize-py](https://github.com/bytecodealliance/componentize-py)
437-
* Go through [wit-bindgen-go](https://github.com/bytecodealliance/go-modules).
438424

439425
See also
440426
[The WebAssembly Component Model developer's guide](https://component-model.bytecodealliance.org/language-support.html)

0 commit comments

Comments
 (0)