From db5cdaac08f94f3040aea45d9637e7609ee067bd Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Thu, 28 Mar 2024 14:39:34 +0900 Subject: [PATCH] Update to latest wazero (#15) --- README.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- protoc_gen_grpc_test.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d68686c..92aab56 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ recommended to specify a version, in which case all of the developers on your co same version of the tool with no special steps. See a full [example][5] in `go-protoc-gen-builtins`. To generate protos, enter the directory and run -`go run github.com/bufbuild/buf/cmd/buf@v1.28.1 generate`. As long as your machine has Go installed, +`go run github.com/bufbuild/buf/cmd/buf@v1.30.0 generate`. As long as your machine has Go installed, you will be able to generate protos. The first time using `go run` for a command, Go automatically builds it making it slower, but subsequent invocations should be quite fast. diff --git a/go.mod b/go.mod index a1b65a3..4553e73 100644 --- a/go.mod +++ b/go.mod @@ -4,4 +4,4 @@ go 1.21 toolchain go1.21.6 -require github.com/tetratelabs/wazero v1.6.1-0.20240307062645-3c7bc733c5b2 +require github.com/tetratelabs/wazero v1.7.0 diff --git a/go.sum b/go.sum index b69b851..5048a45 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/tetratelabs/wazero v1.6.1-0.20240307062645-3c7bc733c5b2 h1:kEUVuoyLf9LNFcTdhpbHJ4DghetX+v37b3Q2uTC4Rw0= -github.com/tetratelabs/wazero v1.6.1-0.20240307062645-3c7bc733c5b2/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y= +github.com/tetratelabs/wazero v1.7.0 h1:jg5qPydno59wqjpGrHph81lbtHzTrWzwwtD4cD88+hQ= +github.com/tetratelabs/wazero v1.7.0/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y= diff --git a/protoc_gen_grpc_test.go b/protoc_gen_grpc_test.go index b9334ed..5a300f7 100644 --- a/protoc_gen_grpc_test.go +++ b/protoc_gen_grpc_test.go @@ -15,7 +15,7 @@ func TestBuf(t *testing.T) { } output := bytes.Buffer{} - cmd := exec.Command("go", "run", "github.com/bufbuild/buf/cmd/buf@v1.28.1", "generate") + cmd := exec.Command("go", "run", "github.com/bufbuild/buf/cmd/buf@v1.30.0", "generate") cmd.Stderr = &output cmd.Stdout = &output cmd.Dir = "testdata"