Skip to content

Commit 51959b4

Browse files
committed
chore: Update wit-bindgen-go-cli to 0.7.0
1 parent 1e56030 commit 51959b4

30 files changed

Lines changed: 142 additions & 142 deletions

File tree

activity/llm/openai-go/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ Go reimplementation of [openai](../openai/) activity.
66
Required versions of `tinygo`, `wit-bindgen-go-cli`, `wasm-tools` can be found in [dev-deps.txt](../dev-deps.txt).
77
See [Go tooling](https://component-model.bytecodealliance.org/language-support/go.html) for more information.
88

9+
10+
Regenerate bindings after modifying `wit` folder:
911
```sh
10-
go mod init ...
11-
rm -rf gen
12-
# Regenerate bindings after modifying `wit` folder
13-
wit-bindgen-go generate --world root --out gen wit/
14-
go mod tidy
12+
./regen.sh
1513
```
1614

1715
## Building

activity/llm/openai-go/gen/wasi/cli/exit/exit.wit.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

activity/llm/openai-go/gen/wasi/cli/run/run.wasm.go

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

activity/llm/openai-go/gen/wasi/http/types/types.wit.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

activity/llm/openai-go/gen/wasi/sockets/network/abi.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

activity/llm/openai-go/gen/wasi/sockets/network/network.wit.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
rustToolchain = pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
2929
wit-bindgen-go-cli = pkgs.buildGoModule (rec {
3030
pname = "wit-bindgen-go-cli";
31-
version = "0.6.2"; # NB: Update version in dev-deps.sh
31+
version = "0.7.0"; # NB: Update version in dev-deps.sh
3232
src = pkgs.fetchFromGitHub {
3333
owner = "bytecodealliance";
3434
repo = "go-modules";
3535
rev = "v${version}";
36-
hash = "sha256-MM3jVhGgTbpC4QZX6HMhJnvWLcyhZZjT7DVqt712InY=";
36+
hash = "sha256-bzsB0EsDNk6x1xroIQqbUy7L97JbEJHo7wASnl35X+0=";
3737
};
3838
modMode = "workspace";
3939
subPackages = [ "cmd/wit-bindgen-go" ];
40-
vendorHash = "sha256-HR2HE/urN5gs5sh5tHZw3ISoJGsPrVGoI9A24epoRZE=";
40+
vendorHash = "sha256-9BLzPxLc+HoVQuUtTwLj6QZvN7BLrX5Zy4s5eWTXvwA=";
4141
proxyVendor = true;
4242
});
4343
commonDeps = with pkgs; [

scripts/dev-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ echo "node.js $(node --version)" >> dev-deps.txt
2323
wizer --version >> dev-deps.txt
2424
# Go
2525
tinygo version >> dev-deps.txt
26-
echo "wit-bindgen-go-cli 0.6.2" >> dev-deps.txt
26+
echo "wit-bindgen-go-cli 0.7.0" >> dev-deps.txt
2727
# libc
2828
ldd --version | head -n 1 >> dev-deps.txt

webhook/webhook-go/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ See [Go tooling](https://component-model.bytecodealliance.org/language-support/g
88

99
```sh
1010
go mod init <module-path>
11-
./regenerate.sh
11+
./regen.sh
1212
```
1313

1414
## Building

0 commit comments

Comments
 (0)