Oh, in C/C++. Title should say that.
In Rust, you just use no_std for small embedded work.
In Rust, you just use no_std for small embedded work.
The problem was how to make sure 3rd party libraries don't allocate.
And as a follow up, why use rust if allocations mean ownership rules are no longer needed?
Ownership still matters, because nothing about ownership cares about heap allocation vs stack allocation.