Re:Speeding Up the Rust Compiler
by jashmatthews on Wednesday December 11, 2019 @09:37AM
(#21762709)
panic=abort is only intended for embedded stuff, I think.
Re:Speeding Up the Rust Compiler
by steveklabnik on Wednesday December 11, 2019 @10:17AM
(#21763140)
Nope, it's intended whenever you want this semantic, and do not want to pay for landing pads. Embedded is a common case where this is true, but it's not exclusively for that.
AFAIK, only with the default panic=unwind mode. With the panic=abort mode, it aborts the whole process instead of unwinding.