diff --git a/README.md b/README.md index 6694221..6de7da7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The output is a component which may be run using e.g. [`wasmtime`](https://githu ### Using Go -Requires Go 1.25.5+ +Requires Go 1.27.1+ Add the following to your `go.mod` file and run `go mod tidy`: diff --git a/examples/sdk/component/go.mod b/examples/sdk/component/go.mod index 6952701..39dfcf1 100644 --- a/examples/sdk/component/go.mod +++ b/examples/sdk/component/go.mod @@ -1,6 +1,6 @@ module example -go 1.25.5 +go 1.27.1 replace pkg => ../pkg diff --git a/examples/sdk/pkg/go.mod b/examples/sdk/pkg/go.mod index 4c80283..96cee55 100644 --- a/examples/sdk/pkg/go.mod +++ b/examples/sdk/pkg/go.mod @@ -1,5 +1,5 @@ module pkg -go 1.25.5 +go 1.27.1 require go.bytecodealliance.org/pkg v0.2.3 diff --git a/examples/wasip3/README.md b/examples/wasip3/README.md index 505b899..3277bbb 100644 --- a/examples/wasip3/README.md +++ b/examples/wasip3/README.md @@ -8,7 +8,7 @@ ABI](https://github.com/WebAssembly/component-model/blob/main/design/mvp/Concurr As of this writing, not everything has been upstreamed and released, so this relies on specific Git revisions of certain tools, plus [a patched version of -Go](https://github.com/dicej/go/releases/tag/go1.25.5-wasi-on-idle). In the +Go](https://github.com/dicej/go/releases/tag/go1.27.1-wasi-on-idle). In the meantime, if componentize-go detects that a targeted WIT world uses async, it will automatically install the patched Go version in then OS's cache directory and use it to build components. Once everything is merged, we'll be able to diff --git a/go.mod b/go.mod index 2492461..ee83d90 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,10 @@ module github.com/bytecodealliance/componentize-go -go 1.25 +go 1.27.1 -require github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13 - -require github.com/gofrs/flock v0.13.0 +require ( + github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13 + github.com/gofrs/flock v0.13.0 +) require golang.org/x/sys v0.37.0 // indirect diff --git a/src/utils.rs b/src/utils.rs index 9388139..883bc69 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -478,7 +478,7 @@ pub fn install_go( if !bin.exists() { let url = url.unwrap_or(format!( - "https://github.com/dicej/go/releases/download/go1.25.5-wasi-on-idle-v2/{name}.tbz" + "https://github.com/dicej/go/releases/download/go1.27.1-wasi-on-idle/{name}.tbz" )); // Provide a generous timeout window for users with slow internet