Replace layout computations with `alloc::Layout`?
Open
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 179
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 29
Description
Now that [some `alloc::Layout` methods are `const`](https://github.com/rust-lang/rust/issues/67521), we may be able to replace some of our `layout` module machinery with these methods. This will only work on recent toolchains, so we will still need to fall back to our implementations on older toolchains, but it will be good to rely on more widely-used implementations where possible, and we will eventually be able to remove our implementations when we bump our MSRV.
Contributor guide
Assessment
This issue has not been assessed yet.