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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ reqwest = { version = "0.13.1", features = ["blocking"] }
tar = "0.4"

[workspace.package]
version = "0.3.1"
version = "0.3.2"
edition = "2024"

[workspace.lints.clippy]
Expand Down
7 changes: 1 addition & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ import (
// Although `componentize-go` is written in Rust, we can use this wrapper to
// make it available using e.g. `go install` and/or `go tool`.
func main() {
// This is hard-coded to point to the latest canary release, which is
// appropriate for the `main` branch, but should be changed to the tag
// name for each tagged release.
//
// TODO: Can we automate updating this for each release?
release := "canary"
release := "v0.3.2"

directories := userdirs.ForApp(
"componentize-go",
Expand Down
4 changes: 2 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ pub fn pick_go(resolve: &Resolve, world: WorldId, go_path: Option<&Path>) -> Res
bad_arch => panic!("ARCH not supported: {bad_arch}"),
};

let cache_dir = &cache_dir.join("componentize-go");
let cache_dir = &cache_dir.join("componentize-go").join("v2");
let name = &format!("go-{os}-{arch}-bootstrap");
let dir = cache_dir.join(name);
let bin = dir.join("bin").join("go");
Expand All @@ -433,7 +433,7 @@ pub fn pick_go(resolve: &Resolve, world: WorldId, go_path: Option<&Path>) -> Res

if !bin.exists() {
let url = format!(
"https://github.com/dicej/go/releases/download/go1.25.5-wasi-on-idle/{name}.tbz"
"https://github.com/dicej/go/releases/download/go1.25.5-wasi-on-idle-v2/{name}.tbz"
);

eprintln!("Downloading patched Go from {url}.");
Expand Down
Binary file modified src/wasi_snapshot_preview1.reactor.wasm
100644 → 100755
Binary file not shown.