You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to learn more about the internals of rust by implementing data structures. I've been following this article, but it calls for using heap::allocate() rustc says heap is unresolved and I found that the heap module is in the alloc crate but, Cargo can't find it, unlike core, and rustc, says the 'alloc' is unresolved.
The text was updated successfully, but these errors were encountered:
The article you mention hasn't been updated in a while, the functions you are looking for are in the std::alloc module.
jonas-schievink
added
E-help-wanted
Call for participation: Help is requested to fix this issue.
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
and removed
E-help-wanted
Call for participation: Help is requested to fix this issue.
labels
Jan 27, 2019
I've been trying to learn more about the internals of rust by implementing data structures. I've been following this article, but it calls for using heap::allocate() rustc says heap is unresolved and I found that the heap module is in the alloc crate but, Cargo can't find it, unlike core, and rustc, says the 'alloc' is unresolved.
The text was updated successfully, but these errors were encountered: