rust/library/std/src/sys/solid
Yuki Okushi e726af8dd4
Rollup merge of #95916 - solid-rs:feat-kmc-solid-abort, r=Mark-Simulacrum
kmc-solid: Use `libc::abort` to abort a program

This PR updates the target-specific abort subroutine for the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets.

The current implementation uses a `hlt` instruction, which is the most direct way to notify a connected debugger but is not the most flexible way. This PR changes it to call the `abort` libc function, making it possible for a system designer to override its behavior as they see fit.
2022-07-25 18:46:48 +09:00
..
abi kmc-solid: Use abort to abort a program 2022-04-11 11:10:00 +09:00
alloc.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
env.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
error.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
fs.rs kmc-solid: Use the filesystem thread-safety wrapper 2022-02-10 13:33:35 +09:00
io.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
memchr.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
mod.rs Rollup merge of #95916 - solid-rs:feat-kmc-solid-abort, r=Mark-Simulacrum 2022-07-25 18:46:48 +09:00
net.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
os.rs kmc-solid: Use abort to abort a program 2022-04-11 11:10:00 +09:00
path.rs Fix absolute issues 2022-02-08 14:57:35 +00:00
rwlock.rs Make all {Mutex, Condvar, RwLock}::new #[inline]. 2022-06-06 13:49:23 +02:00
stdio.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
thread_local_dtor.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
thread_local_key.rs Add SOLID targets 2021-09-28 11:31:47 +09:00
time.rs Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00