File: README.md

package info (click to toggle)
rust-gg-alloc 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: makefile: 4
file content (5 lines) | stat: -rw-r--r-- 288 bytes parent folder | download
1
2
3
4
5
# 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.