rust/library/std/src/sys
Jubilee 468089210c
Rollup merge of #130132 - sunshowers:illumos-sigsegv, r=Noratrieb
[illumos] enable SIGSEGV handler to detect stack overflows

Use the same code as Solaris. I couldn't find any tests regarding this, but I did test a stage0 build against my stack-exhaust-test binary [1]. Before:

```
running with use_stacker = No, new_thread = false, make_large_local = false
zsh: segmentation fault (core dumped)  cargo run
```

After:

```
running with use_stacker = No, new_thread = false, make_large_local = false

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
zsh: IOT instruction (core dumped)  cargo +stage0 run
```

Fixes #128568.

[1] https://github.com/sunshowers/stack-exhaust-test/
2024-09-09 19:20:37 -07:00
..
alloc std: move allocators to sys 2024-08-27 11:58:19 +02:00
anonymous_pipe Remove unneeded pub(crate) 2024-07-31 13:45:14 +00:00
os_str Sparkle some attributes over CloneToUninit stuff 2024-07-29 20:44:42 +03:00
pal Rollup merge of #130132 - sunshowers:illumos-sigsegv, r=Noratrieb 2024-09-09 19:20:37 -07:00
path More robust extension checking 2024-09-03 14:36:21 +02:00
personality Port std library to RTEMS 2024-09-03 09:19:29 +02:00
sync std: fix busy-waiting in Once::wait_force, add more tests 2024-07-31 17:44:10 +02:00
thread_local Reformat use declarations. 2024-07-29 08:26:52 +10:00
backtrace.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
cmath.rs Add math functions for f16 and f128 2024-08-01 15:38:51 -04:00
dbg.rs Break into the debugger (if attached) on panics (Windows, macOS, Linux, FreeBSD) 2024-09-05 15:26:34 -07:00
exit_guard.rs Attempt to fix CI 2024-07-08 09:19:25 -05:00
mod.rs Break into the debugger (if attached) on panics (Windows, macOS, Linux, FreeBSD) 2024-09-05 15:26:34 -07:00