Hacker News new | ask | show | jobs
by volta83 1777 days 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.

1 comments

> does not propagate errors properly

Is "panicking on allocation failure" the only example of this, or are there others?