WIP: Add `--target emscripten` (#3052) * initial `--target emscripten` support * stdlib emscripten * linker * emscripten stdlib * add debug info for zip.c3 TODO: clean this * fix tests * emscripten: add standard linker arguments add atomics for wasm * waefawe * more stdlib fixes for emscripten * disable panic for emscripten * fix threads/mutex.c3 test * 4 hours :( * blake3 fix for emscripten * socketpair not supported on emscripten also bypass the unreachable of longjmp for easier testing * use actual date * add an example to `resources/examples/emscripten` bouncing ball * add `entropy` support for EMSCRIPTEN * default emcc linker flags for compiler test and benchmark fix hashmap benchmark * clean debug stuff * update Emscripten ABI mappings and compiler targets * add emscripten node tests * fix Error: Implicitly casting 'int' to 'AIFamily' * hashset/linked_hashset/ripemd/countingsort work on 32bit systems * disable process test because emscripten doesn't support posix_spawnp I see the headers, but i get a symbol not defined :( * stdlib and tests: emscripten 32bit fixes * CI: make emscripten test its own thing * fix raylib6 tests * forgot it's UBUNTU_VERSION=24.04 now * Remove some debug additions and changes. --------- Co-authored-by: Christoffer Lerno <christoffer@aegik.com> |