Skip to content

Commit

Permalink
Update to latest wazero (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Mar 28, 2024
1 parent 2a8e5a0 commit db5cdaa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion protoc_gen_grpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit db5cdaa

Please sign in to comment.