Skip to main content

release_panic_strategy

Function release_panic_strategy 

Source
pub fn release_panic_strategy(rust_code: &str) -> &'static str
Expand description

The panic strategy of a generated program’s release build: unwind for one that opens with UNWIND_PROFILE_HEADER, abort for every other, whose failure hook reports and ends it. Every project writer takes it from here.