[rust-dev] How to allocate record on memory?

Niko Matsakis niko at alum.mit.edu
Tue Apr 17 19:42:29 PDT 2012


On 4/17/12 7:24 PM, Alexander Stavonin wrote:
> I need unmanaged, C-compatibe structure on heap which will not be 
> autodeleted in any cases.

Then calling malloc seems like what you want.


Niko


More information about the Rust-dev mailing list