4 ms·
It is safe, and was even modeled explicitly as part of https://www.ralfj.de/blog/2017/07/08/rustbelt.html https://www.ralfj.de/blog/2017/07/08/rustbelt.html .
by dbaupp 9y ago
It is safe, and was even modeled explicitly as part of https://www.ralfj.de/blog/2017/07/08/rustbelt.html https://www.ralfj.de/blog/2017/07/08/rustbelt.html .
There's the external https://crates.io/crates/alias https://crates.io/crates/alias and even an approved RFC for adopting it into std: https://github.com/rust-lang/rust/issues/43038 https://github.com/rust-lang/rust/issues/43038 .
- comex 9y agoDoh, way ahead of me then. Though it seems there are more steps needed, e.g. adding support to the ‘bytes’ crate.