1 stable release
1.0.0 | Jul 2, 2022 |
---|
#565 in Memory management
774 downloads per month
Used in 3 crates
(via wasm-bindgen-test)
15KB
111 lines
gg-alloc
A custom allocator that always returns pointers in the 2G-4G range.
That is, pointers that are valid u32
but not valid i32
. This is used to test the wasm-bindgen crate, which used to have problems when dealing with more than 2GB of memory in WebAssembly because of this.