Commit 3af77b8
authored
fix file reads; bump version to v0.3.2 (#49)
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.1 parent 28105f4 commit 3af77b8
File tree
4 files changed
+4
-9
lines changed- src
4 files changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
Binary file not shown.
0 commit comments