tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

Fix 32bit testing

Open QuLogic opened this issue 2 years ago • 1 comments

Or really, it's more of a workaround, by simply disabling the tests that can't run, as mentioned in #2824.

QuLogic avatar May 09 '22 02:05 QuLogic

The syscall.seek issue will be fixed by #3103.

I can reproduce the "out of memory" issue on my laptop though:

$ GOARCH=arm tinygo test -v compress/flate
panic: runtime error: out of memory
qemu: uncaught target signal 6 (Aborted) - core dumped
FAIL    compress/flate  1337.215s
FAIL

Not sure what's causing it, as both amd64 and 386 should have a heap size of 1GB. Also, I don't see why compress/flate would use such a large amount of RAM during tests. Perhaps the GC has too many false positives so it keeps memory around?

aykevl avatar Sep 01 '22 14:09 aykevl