Skip to content

Commit 4b0e32f

Browse files
Rollup merge of #154837 - moturus:motor-os-abort, r=jhpratt
library: std: motor: use OS' process::exit in abort_internal abort_internal() is used in panics; if it calls core::intrinsics::abort(), the process triggers an invalid op code (on x86_64), which is a much harder "abort" than a user-controlled exit via a panic. Most other OSes don't use core::intrinsics::abort() here, but either libc::abort(), or a native OS abort/exit API.
2 parents bb6e8ea + 17d8cbf commit 4b0e32f

0 file changed

File tree

    0 commit comments

    Comments
     (0)