News for hackers. Stuff that matters.
Re:Garbage Collection for Systems Programmers by arcticbull on Saturday March 30, 2024 @04:37PM (#39878402)
It's not part of std exactly, it's part of alloc. It's re-exported by std.

It would still be available in a #![no_std] environment using `extern crate alloc`.

This crate generally abstracts over the concept of allocation too, so relying on it doesn't require you to also have an allocator - it just requires someone at some point specify one with #[global_allocator]

There are no comments on this comment yet.