There seems to be a bit of confusion here. Idris doesn't provide the same tools and guarantees as Rust does to manage memory, and instead requires that implementations provide a garbage collector.
If you're producing code for a collected language, you can forward on all of the allocations to that language, and if not, you will need to implement one.
Zero-cost abstractions or not, Idris needs a GC from somewhere.