Crates.io | gg-alloc |
lib.rs | gg-alloc |
version | 1.0.0 |
source | src |
created_at | 2022-07-02 23:22:34.161912 |
updated_at | 2022-07-02 23:22:34.161912 |
description | A custom allocator that only returns pointers above 2G |
homepage | |
repository | https://github.com/Badel2/gg-alloc |
max_upload_size | |
id | 618031 |
size | 41,597 |
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.