Avoiding allocations in Rust to shrink Wasm modules

“Rust lacks a runtime, enabling small .wasm sizes because there is no extra bloat included like a garbage collector. You only pay (in code size) for the functions you actually use.” Easier said than done, as one has to watch out for allocations as they may significantly impact the Wasm module side.