If in your project you need to make the resulting
binary as small as possible, you can switch from unwinding to aborting upon a
panic by adding panic = 'abort' to the appropriate [profile] sections in
your Cargo.toml file. For example, if you want to abort on panic in release
mode, add this:
[profile.release]
panic = 'abort'