I wouldn't have included the backtrace-printing code in the standard library. Instead, I'd have made "cargo run" act like a debugger, attaching to the process and doing the stack-walking, symbol-finding, and backtrace-printing from outside. That would take ~100-300K off of every artifact built with std. As it is, hopefully we'll get a stabilized version of build-std and panic_immediate_abort sometime.
Matt Campbell
in reply to Mara • • •