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

Link statically realloc c-fn, otherwise store realloc in the static mut and reqires init.

Affects playdate-allocator::is_inited

global-error-handler

Optional global OoM handler, panics.