gg-alloc

Crates.iogg-alloc
lib.rsgg-alloc
version1.0.0
sourcesrc
created_at2022-07-02 23:22:34.161912
updated_at2022-07-02 23:22:34.161912
descriptionA custom allocator that only returns pointers above 2G
homepage
repositoryhttps://github.com/Badel2/gg-alloc
max_upload_size
id618031
size41,597
(Badel2)

documentation

README

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.

Commit count: 2

cargo fmt