Ayke
Ayke
Was this PR also meant to be squashed?
Hmm, that doesn't seem to work. Now the build-linux job doesn't run at all.
Looks like this is not working at the moment. We're running into this issue: https://github.com/actions/runner/issues/801#issuecomment-2394425757 > `Error: JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected...
@mikesmitty thanks, that was indeed one of the issues. The other was that I missed a comma in the `goarch:` line.
Oh cool, this reduces binary size a little! Probably because `trap()` is smaller than `panic("unreachable")`.
But I see there are some AVR failures I need to fix.
I still think it's a good idea, to make the code cleaner. I'll update the PR later to actually make use of `pthread_exit` etc.
Looks like something is failing on WebAssembly.
Looks like the issue is that `RemoveAll` isn't supported on WASI. Which in turn doesn't seem to work because `readdir` isn't implemented on WASI.