Commit ecb0d53
committed
chore: vendor a part of
We need a suballocator for a compile-time heap because the
`const_deallocate` intrinsic isn't implemented yet (there's an open PR
[1]), but we want to reuse the deallocated memory regions.
We are not adding the vendored `rlsf` as a separate crate because, as
explained earlier, this is a temporary measure, and we don't want to
pollute crates.io's namespace.
We can't make the necessary changes to the upstream `rlsf` because
maintaining the compatibility with a stable compiler is very likely to
pose a considerable challenge and unacceptable maintenance burdens.
[1]: rust-lang/rust#92274rlsf 0.1.2
1 parent 22fe8d6 commit ecb0d53
0 commit comments