Denis Shelomovskii
Denis Shelomovskii
Use fast and simple sign comparison instead of long, slow and complicated value comparisons. Also remove reference as it doesn't apply anymore. #### P.S. I planned to rewrite this module...
`WasmAllocator.allocate` does not terminate on out of memory `wasmMemoryGrow` function returns `-1` if allocation fails. But currently `WasmAllocator.grow` just ignores `wasmMemoryGrow(pages)` return value thus resulting in essentially _undefined behavior_ of...
Starting from probably `0.2.0-beta.6` this code fails to compile: ```D import spasm.bindings; import spasm.dom; import spasm.types; extern (C) export void _start() { import std.algorithm : move; auto canvas = document.createElement("canvas").as!HTMLCanvasElement;...
Starting from [Rust 1.82.0](https://releases.rs/docs/1.82.0/) (released 2024-10-17) [Reference types](https://webassembly.github.io/reference-types/core/syntax/types.html#reference-types) are enabled for WebAssembly target by default. Reference types are not supported by older webpack versions, see issue #191 for more details....
### Describe the Bug webpack v4 used in this template fails to parse WASM file generated by Rust 1.82+. ### Steps to Reproduce 1. `rustup default 1.82.0` 2. `npm run...