pub fn abort() -> !
The same as std::process::abort, but annotated as #[cold], nounwind, and usable in no_std environments.
std::process::abort
#[cold]
nounwind
no_std
In a no_std environment this generates a trap instruction.