4 ms·
It's not strictly impossible to avoid panicing in Rust, but it's pretty painful. The approaches typically involve forcing a linker error if a panic is linked (h
by dwattttt 3y ago
It's not strictly impossible to avoid panicing in Rust, but it's pretty painful. The approaches typically involve forcing a linker error if a panic is linked (https://docs.rs/no-panic https://docs.rs/no-panic).
Yes, you'll be (re)writing a lot more code than if panics are acceptable.