The current Memory implementation is hacky. We need to make it fundamental. 1. No longer hardcode the `MemoryInterface` instantiation in Rust generation. 2. No longer hardcode the `rust_callback` in Rust generation.
The current Memory implementation is hacky. We need to make it fundamental.
MemoryInterfaceinstantiation in Rust generation.rust_callbackin Rust generation.