diff options
| author | bors <bors@rust-lang.org> | 2016-03-18 09:21:43 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-03-18 09:21:43 -0700 |
| commit | 24bb607e7d65ebfc487eba62e053ac049f140efc (patch) | |
| tree | 5488e6cdaba0a034870a1b0b459b9685e7352ed6 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 235d77457d80b549dad3ac36d94f235208a1eafb (diff) | |
| parent | 50fda1eead10af900a7b7c9f07983937e66bcc3c (diff) | |
| download | rust-24bb607e7d65ebfc487eba62e053ac049f140efc.tar.gz rust-24bb607e7d65ebfc487eba62e053ac049f140efc.zip | |
Auto merge of #32282 - sfackler:panic-hook, r=alexcrichton
Adjustments to the panic hook API Rename `set_handler` and `take_handler` to `set_hook` and `take_hook` since we're not actually "handling" (i.e. fixing) anything. Also alter `set_hook` to take a `Box<Fn(&PanicInfo) + 'static + Sync + Send>` rather than a parameterized closure since there's otherwise no easy way to re-register a hook that came from `take_hook`. cc #30449 r? @aturon
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
