3 ms·
Yeah! Even he kind of appreciates one of my favorite Rust features. > So "Result<T, E>" is basically the way to go, and if the standard Rust library alloc() mo
by joseluisq 6y ago
Yeah!
Even he kind of appreciates one of my favorite Rust features.
> So "Result<T, E>" is basically the way to go, and if the standard Rust
library alloc() model is based on "panic!" then that kind of model
must simply not be used in the kernel.
https://lkml.org/lkml/2021/4/14/1131 https://lkml.org/lkml/2021/4/14/1131