You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And we [fixed the malloc](https://github.com/lupyuen/tcc-riscv32-wasm/commit/e7c76474deb52acadd3540dec0589ab98ae243a9#diff-5ecd8d41f5376644e9c3f17c9eac540841ff6f7c00bca34d7811b54e0b9bd7a0)
424
+
423
425
When we run it...
424
426
425
427
```text
426
428
+ node zig/test.js
427
-
wasm://wasm/00610af2:1
429
+
compile_program
430
+
wasm://wasm/00629742:1
428
431
RuntimeError: unreachable
429
-
at builtin.default_panic (wasm://wasm/00610af2:wasm-function[272]:0x4e9dc)
430
-
at malloc (wasm://wasm/00610af2:wasm-function[294]:0x4f08d)
431
-
at tcc_new (wasm://wasm/00610af2:wasm-function[110]:0x226cf)
432
-
at main (wasm://wasm/00610af2:wasm-function[136]:0x2862c)
433
-
at compile_program (wasm://wasm/00610af2:wasm-function[267]:0x4e333)
434
-
at /workspaces/bookworm/tcc-riscv32-wasm/zig/test.js:10:15
432
+
at builtin.default_panic (wasm://wasm/00629742:wasm-function[275]:0x4ed97)
433
+
at getenv (wasm://wasm/00629742:wasm-function[303]:0x50371)
434
+
at set_environment (wasm://wasm/00629742:wasm-function[136]:0x29c74)
435
+
at main (wasm://wasm/00629742:wasm-function[135]:0x29480)
436
+
at compile_program (wasm://wasm/00629742:wasm-function[266]:0x4e3f6)
437
+
at /workspaces/bookworm/tcc-riscv32-wasm/zig/test.js:52:15
0 commit comments