3 ms·
> If it needs to "return an error" how? Because this is all just library features from a library that isn't being used. They could use core::alloc and have pan
by 3836293648 5y ago
> If it needs to "return an error" how?
Because this is all just library features from a library that isn't being used. They could use core::alloc and have panic on allocation failure, or they could implement their own library and that library presumably wouldn't have the explicit panics that core::alloc has.
Kernel rust isn't a matter of a variation of the language, it's just about not using the standard libraries