diff options
| author | Andrea Canciani <ranma42@gmail.com> | 2015-09-22 08:40:15 +0200 |
|---|---|---|
| committer | Andrea Canciani <ranma42@gmail.com> | 2015-09-22 11:02:52 +0200 |
| commit | cbfa61282fc34204b9b66554e06189c2d0b4d085 (patch) | |
| tree | ecb04bd1162bfbab84b33fe7d170f3964bcbd966 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | f07f4ef74366f70554cb0f2cef590e76bfd55791 (diff) | |
| download | rust-cbfa61282fc34204b9b66554e06189c2d0b4d085.tar.gz rust-cbfa61282fc34204b9b66554e06189c2d0b4d085.zip | |
Simplify on_panic callback handling
The registration of `panicking::on_panic` as a general-purpose callback is overcomplicated and can fail. Instead, invoking it explicitly removes the need for locking and paves the way for further improvements.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
