rust/library/std
Rain 54672ac392 [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 07:00:05 +00:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src [illumos] enable SIGSEGV handler to detect stack overflows 2024-09-09 07:00:05 +00:00
tests rustc_target: Add SME aarch64 features 2024-08-27 11:11:47 +01:00
build.rs Port std library to RTEMS 2024-09-03 09:19:29 +02:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00