News for hackers. Stuff that matters.
Re:Making a RISC-V Operating System Using Rust by tal8d on Wednesday October 02, 2019 @01:44PM (#21138965)
Try harder: https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#t...

You can implement your own global allocator, use an existing crate, or (in the case of user applications) use the system's. That is for the stdlib level, not even core...

Re:Making a RISC-V Operating System Using Rust by muricula on Wednesday October 02, 2019 @07:27PM (#21141880)
Nope, the GP is still correct. If your custom allocator fails, anything created with Box::new or similar will panic.