CAD97 / CAD97/pointer-utils

`slice-dst`: Support allocator API

Aperta
#87 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
137
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems that `slice-dst` can only be allocated with the global allocator. Although allocator_api is currently unstable, there is a widely used crate [allocator-api2](https://docs.rs/allocator-api2) that mirrors types and traits from [allocator_api](https://doc.rust-lang.org/unstable-book/library-features/allocator-api.html). Therefore, I think `slice-dst` can introduce a feature that enables allocator API mirrored by `allocator-api2` similar to [bumpalo](https://docs.rs/bumpalo).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.