Cargo Features
playdate-allocator has no features set by default.
[dependencies]
playdate-allocator = { version = "0.1.0", features = ["global", "allocator-api", "static-link", "global-error-handler"] }
- global
-
Global allocator (system)
Affects
global::GLOBAL
… - allocator-api
-
Implementation of
allocator-api
- static-link
-
Link statically
realloc
c-fn, otherwise storerealloc
in the static mut and reqires init.Affects
playdate-allocator::is_inited
… - global-error-handler
-
Optional global OoM handler, panics.