3 ms·
We do this on all our Rust code as well (1.1 million LOC at this point). While we can benefit from #[no_std] crates on crates.io, unfortunately we can't use an
by volta83 5y ago
We do this on all our Rust code as well (1.1 million LOC at this point).
While we can benefit from #[no_std] crates on crates.io, unfortunately we can't use any crates that require standard because the standard library does not propagate errors properly, so we maintain our own implementation of most of the standard library for Linux only, that propagates all errors using Result..
It's a huge pain point, but at least Rust allows us to do it.
- oconnor663 5y ago> does not propagate errors properly Is "panicking on allocation failure" the only example of this, or are there others?