News for hackers. Stuff that matters.
Re:Cross-platform Rust rewrite of the GNU coreutils by sesutton on Tuesday March 22, 2016 @02:37PM (#11338813)
I'm not a Rust expert but everywhere I could find heap::allocate it checks for null.
Re:Cross-platform Rust rewrite of the GNU coreutils by rkangel on Wednesday March 23, 2016 @09:46AM (#11344325)
Any time you do Box::new() you are allocating memory. There is no way do report allocation failure from that - the program will panic.