Skip to content

fix: add cache invalidation logic for outdated versions of wasi-on-idle - #84

Merged
asteurer merged 1 commit into
bytecodealliance:mainfrom
asteurer:issue-82
Oct 27, 2026
Merged

asteurer merged 1 commit into
bytecodealliance:mainfrom
asteurer:issue-82

Conversation

@asteurer

Copy link
Copy Markdown
Contributor

If a user already has wasi-on-idle v1.25 installed, componentize-go will skip downloading the wasi-on-idle v1.27.1. This PR adds logic that will check the version of wasi-on-idle, and force a re-install if it's outdated.

There are also some small refactors inspired by my recent discovery of the anyhow::bail! macro haha

Closes #82

…n-idle

Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
Comment thread src/utils.rs
@asteurer
asteurer merged commit 903d3b6 into bytecodealliance:main Oct 27, 2026
5 checks passed
@asteurer
asteurer deleted the issue-82 branch October 27, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Componentize-go v0.5.0 errors when detecting async support

2 participants