fix file reads; bump version to v0.3.2#49
Merged
dicej merged 1 commit intobytecodealliance:mainfrom Apr 16, 2026
Merged
Conversation
Reading from files via e.g. `os.ReadFile` was broken due to a bug in the `wasi_snapshot_preview1` adapter _and_ another bug in my patched version of Go. The following PR and commit fix those issues: - bytecodealliance/wasmtime#13111 - dicej/go@1f14282 I've updated the adapter using a build from bytecodealliance/wasmtime@d60f178 and pointed the Go URL to the new release URL. I've also updated the download directory to force a new download for users which may already have the old version. Finally, I've updated the Go wrapper to point to the `v0.3.2` release (which doesn't exist yet, but will soon). Previously, we were pointing to the `canary` release on the `main` branch, but it's annoying to switch back and forth when tagging releases, so let's just leave it set to whatever the latest release is for now.
asteurer
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reading from files via e.g.
os.ReadFilewas broken due to a bug in thewasi_snapshot_preview1adapter and another bug in my patched version of Go. The following PR and commit fix those issues:ERRNO_AGAINfromfd_{read,write}when appropriate wasmtime#13111I've updated the adapter using a build from
bytecodealliance/wasmtime@d60f178 and pointed the Go URL to the new release URL. I've also updated the download directory to force a new download for users which may already have the old version.
Finally, I've updated the Go wrapper to point to the
v0.3.2release (which doesn't exist yet, but will soon). Previously, we were pointing to thecanaryrelease on themainbranch, but it's annoying to switch back and forth when tagging releases, so let's just leave it set to whatever the latest release is for now.