Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk/component/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example

go 1.25.5
go 1.27.1

replace pkg => ../pkg

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk/pkg/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module pkg

go 1.25.5
go 1.27.1

require go.bytecodealliance.org/pkg v0.2.3
2 changes: 1 addition & 1 deletion examples/wasip3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down