Commit graph

11 commits

Author SHA1 Message Date
Lorenzo Torres
0ea03c54bc fixed memory leak introduced by 48796a0fa3 2025-03-17 19:46:22 +01:00
Lorenzo Torres
3a210a6959 fixed memory bug introduced by 48796a0fa3 2025-03-17 19:44:53 +01:00
Lorenzo Torres
1d64275dee Refactored source code structure. 2025-03-17 19:44:08 +01:00
luccie-cmd
5bab2c4bcf Add defer avaliableExtensions (And also correct its name)
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-16 23:22:09 +01:00
luccie-cmd
a2a3cea006 Change debugging message of Renderer.destroy()
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-16 23:22:06 +01:00
luccie-cmd
98063d241d Add documentation for Instance.create()
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-16 23:22:02 +01:00
luccie-cmd
48796a0fa3 Added checking if our extensions are supported and make Renderer.destroy() not return an error
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-16 23:21:44 +01:00
Lorenzo Torres
fee8a08bdf temporarily disabled WebAssembly 2025-03-16 19:49:41 +01:00
Lorenzo Torres
e9a9ab4d79 fixed spacing issues in documentation/design.md 2025-03-16 01:18:04 +01:00
Ernesto Lanchares
2818fd14c5 Fixed wrong calculation of locals size when parsing a wasm binary
The fix involves moving the function leb128Decode over to parser. To me
it makes more sense for the function to belong in that module so I think
of it as a positive change. However I do not think that returning two
values is really necessary. I think a proper solution would be either
to parse the code or wrap the stream so we can count how many bytes are
readed. Therefore we could use std.leb.readUleb128 which should be less
error-prone.
2025-03-14 16:50:59 +01:00
Lorenzo Torres
4f45899a3c base code 2025-03-12 19:56:19 +01:00