Tags: evacchi/wazero
Tags
ci: removes unnecessary matrix.include (tetratelabs#2155) Signed-off-by: Takeshi Yoneda <[email protected]>
packaging: switch to native WiX toolchain and Windows runner Cross-platform msitools do not support the `Environment` directive, which should be the proper way to address the issue, so we adapt the Makefile to assume a Windows environment when building, addressing tetratelabs#1374. `make dist` now runs on all platforms, but on Windows, assuming `candle.exe`, `light.exe` and GNU `tar` are installed, it builds all tarballs, zip and msi packages. On other platforms it will only build the tarballs and print a warning: Makefile:340: WARNING: MSI generation only supported on Windows platforms. Skipping. Signed-off-by: Edoardo Vacchi <[email protected]>
godoc: clarifies UTC on clock sources (tetratelabs#1300) This makes clock source configuration more clear about the timestamps returned. Specifically, that realtime is UTC and the most common consumers. Signed-off-by: Adrian Cole <[email protected]>
fixes nil panic on close (tetratelabs#1286) The last PR over-solved the WASI close problem as it special cased both "_start", used by WASI, and the start section (wasm level) which isn't used by WASI. In the latter case, we ended up returning nil for both the module *and* the error result. We should never do that.. If we coerce exit error zero to nil, we have to return a non-nil module, even if it is unusable as otherwise code like `defer mod.Close(ctx)` will panic. Signed-off-by: Adrian Cole <[email protected]>
ci: adds integration test on Go(Js) (tetratelabs#1246) Signed-off-by: Takeshi Yoneda <[email protected]>
sysfs: drops os.File special casing for fs.FS to pass wasi-testsuite (t… …etratelabs#1174) This adds a wazero adapter which passes wasi-testsuite 100pct on darwin, linux and windows. While the main change was adding inodes to the wasi `fd_readdir` dirents, there was a lot of incidental work needed. Most of the work was troubleshooting in nature, around windows specifically, but also wrapping of files. This backfills a lot of tests and reworked how wrapping works, particularly around windows. To accommodate this, we drop `os.File` special casing except for `sysfs.DirFS` Signed-off-by: Adrian Cole <[email protected]>
sysfs: adds chmod (tetratelabs#1135) This adds `FS.Chmod` and implements it for `GOOS=js`. This function isn't defined in WASI snapshot01, but it is in `wasi-filesystem`, e.g. `change-file-permissions-at`. Signed-off-by: Adrian Cole <[email protected]>
fs: handles windows edge cases on rename (tetratelabs#1086) This handles edge cases on rename which were previously skipped in testing. Notably, there are delete flags not possible to propagate in current versions of go, which imply some copy/paste meanwhile. Signed-off-by: Adrian Cole <[email protected]> Co-authored-by: Takeshi Yoneda <[email protected]>
Ensures 32-bit platforms build (tetratelabs#996) Signed-off-by: Adrian Cole <[email protected]>
Implements rename in GOOS=js and WASI (tetratelabs#991) This implements rename, which is the last function needed to pass TinyGo os package tests: Signed-off-by: Adrian Cole <[email protected]>
PreviousNext