Skip to content

fix file reads; bump version to v0.3.2#49

Merged
dicej merged 1 commit intobytecodealliance:mainfrom
dicej:fix-file-reads-v0.3.2
Apr 16, 2026
Merged

fix file reads; bump version to v0.3.2#49
dicej merged 1 commit intobytecodealliance:mainfrom
dicej:fix-file-reads-v0.3.2

Conversation

@dicej
Copy link
Copy Markdown
Contributor

@dicej dicej commented Apr 16, 2026

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:

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.

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.
@dicej dicej requested a review from asteurer April 16, 2026 21:01
@dicej dicej merged commit 3af77b8 into bytecodealliance:main Apr 16, 2026
5 checks passed
@dicej dicej deleted the fix-file-reads-v0.3.2 branch April 16, 2026 22:54
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.

2 participants