3 ms·
The answer from Miguel Ojeda, who made the patch series: “Of course! What happens here is that we use, for the moment, `alloc`, which is part of the Rust stand
by MBCook 4y ago
The answer from Miguel Ojeda, who made the patch series:
“Of course! What happens here is that we use, for the moment, `alloc`, which is part of the Rust standard library. However, we will be customizing/rewriting `alloc` as needed to customize its types (things
like `Box`, `Vec`, etc.) so that we can do things like pass allocation flags, ensure we always have fallible allocations, perhaps reuse some
of the kernel data structures, etc.
Cheers, Miguel”
- steveklabnik 4y agoThey also sent those patches upstream, as well, though in my understanding they’ll still use a fork that turns the panic-ing versions off. I haven’t kept up with the patch set super closely lately though…