Expand description
Simplified allocations for no-std on stable Rust.
All allocations require a *Store
which gives them a 'static
lifetime.
You can swap out alloc for faux_alloc and as long as the APIs are supported it will work.
Modules§
- boxed
- Emulating https://doc.rust-lang.org/alloc/boxed/index.html
- sync
- Emulating https://doc.rust-lang.org/alloc/sync/index.html
- task
- Emulating https://doc.rust-lang.org/alloc/task/index.html
Structs§
- Arc
- Atomically reference-counted pointer
- ArcStore
- A place to store a fake “heap” that can allocate for one
Arc
. - Box
- A pointer type for heap allocation.
- BoxStore
- A place to store a fake “heap” that can allocate for one
Box
.