diff --git a/BUILD.bazel b/BUILD.bazel index 110bf0a..2654d89 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -63,7 +63,7 @@ go_library( ], "//conditions:default": [], }), - importpath = "github.com/bytecodealliance/wasmtime-go/v39", + importpath = "github.com/bytecodealliance/wasmtime-go/v40", visibility = ["//visibility:public"], ) diff --git a/README.md b/README.md index 7c71f7c..2e0faef 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ CI status - - Documentation + + Documentation Code Coverage @@ -25,7 +25,7 @@ ## Installation ```sh -go get -u github.com/bytecodealliance/wasmtime-go/v39@v39.0.1 +go get -u github.com/bytecodealliance/wasmtime-go/v40@v40.0.1 ``` Be sure to check out the [API documentation][api]! @@ -39,7 +39,7 @@ need to arrange to build Wasmtime and use `CGO_*` env vars to compile correctly. This project has been tested with Go 1.13 or later. -[api]: https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v39 +[api]: https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v40 [wasmtime]: https://github.com/bytecodealliance/wasmtime If you are a bazel user, add following to your WORKSPACE file: @@ -47,8 +47,8 @@ If you are a bazel user, add following to your WORKSPACE file: ``` go_repository( name = "com_github_bytecodealliance_wasmtime_go", - importpath = "github.com/bytecodealliance/wasmtime-go/v39", - version = "v39.0.1", + importpath = "github.com/bytecodealliance/wasmtime-go/v40", + version = "v40.0.1", ) ``` @@ -61,7 +61,7 @@ package main import ( "fmt" - "github.com/bytecodealliance/wasmtime-go/v39" + "github.com/bytecodealliance/wasmtime-go/v40" ) func main() { @@ -179,8 +179,8 @@ Once merged checkout `main` and do: $ rm .gitignore $ python3 ci/download-wasmtime.py $ git add . -$ git commit -m 'v39.0.0 release artifacts' -$ git tag v39.0.0 +$ git commit -m 'v40.0.0 release artifacts' +$ git tag v40.0.0 ``` and push up the tag diff --git a/ci/download-wasmtime.py b/ci/download-wasmtime.py index 50f8e8b..6bbc9a9 100644 --- a/ci/download-wasmtime.py +++ b/ci/download-wasmtime.py @@ -10,7 +10,7 @@ import glob -version = 'v39.0.0' +version = 'v40.0.0' urls = [ ['wasmtime-{}-x86_64-mingw-c-api.zip', 'windows-x86_64'], ['wasmtime-{}-x86_64-linux-c-api.tar.xz', 'linux-x86_64'], diff --git a/example_test.go b/example_test.go index f584c84..4674cde 100644 --- a/example_test.go +++ b/example_test.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/bytecodealliance/wasmtime-go/v39" + "github.com/bytecodealliance/wasmtime-go/v40" ) // Example of limiting a WebAssembly function's runtime using "fuel consumption". diff --git a/go.mod b/go.mod index 78477e9..ab759c5 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/bytecodealliance/wasmtime-go/v39 +module github.com/bytecodealliance/wasmtime-go/v40 go 1.18 diff --git a/includebuild.go b/includebuild.go index 4220c3b..780fe7b 100644 --- a/includebuild.go +++ b/includebuild.go @@ -12,14 +12,14 @@ import ( // included in vendored dependencies. // Cf. https://github.com/golang/go/issues/26366 - _ "github.com/bytecodealliance/wasmtime-go/v39/build/include" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/include/wasmtime" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/include/wasmtime/component" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/include/wasmtime/component/types" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/include/wasmtime/types" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/linux-aarch64" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/linux-x86_64" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/macos-aarch64" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/macos-x86_64" - _ "github.com/bytecodealliance/wasmtime-go/v39/build/windows-x86_64" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/include" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/include/wasmtime" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/include/wasmtime/component" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/include/wasmtime/component/types" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/include/wasmtime/types" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/linux-aarch64" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/linux-x86_64" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/macos-aarch64" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/macos-x86_64" + _ "github.com/bytecodealliance/wasmtime-go/v40/build/windows-x86_64" )