Submit and pass all tests to enable saving to GitHub.
Implementation
Why This Matters
Rust's GlobalAlloc trait lets you swap allocators fleet-wide — Discord moved services to jemalloc and companies routinely use mimalloc for wins — and embedded Rust requires writing your own for heapless targets. Implementing one teaches the alignment/layout contract that underlies every Box and Vec.
Hints
0 / 3 revealed
Sample validation
Sample case for Run. Submit grades this sample plus all hidden tests.
main.c
Workspace 1.0
Implement a custom allocator using the GlobalAlloc trait in Rust.