Skip to content

Commit 4788bfe

Browse files
committed
Auto merge of #154837 - moturus:motor-os-abort, r=<try>
library: std: motor: use OS' process::exit in abort_internal try-job: i686-msvc-2
2 parents 49b6ac0 + 92426ef commit 4788bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • library/std/src/sys/pal/motor

library/std/src/sys/pal/motor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ pub fn unsupported_err() -> io::Error {
4242
}
4343

4444
pub fn abort_internal() -> ! {
45-
core::intrinsics::abort();
45+
moto_rt::process::exit(-1)
4646
}

0 commit comments

Comments
 (0)