The panic hook already exits unconditionally, so all the unwinding code is dead. This saves some build time and code size. Signed-off-by: Brian Anderson <andersrb@gmail.com>
nrc previously approved these changes May 9, 2019
BusyJay previously approved these changes May 9, 2019
There's an interaction here that I don't quite understand, that makes my change not work, so just reverting for now. Signed-off-by: Brian Anderson <andersrb@gmail.com>
nrc approved these changes May 14, 2019
brson
mentioned this pull request
Merged
sticnarf pushed a commit to sticnarf/tikv that referenced this pull request
Oct 27, 2019* tikv: set panic=abort for dev and release The panic hook already exits unconditionally, so all the unwinding code is dead. This saves some build time and code size. Signed-off-by: Brian Anderson <andersrb@gmail.com> * panic_hook: make catching panics only possible in cfg(test) Signed-off-by: Brian Anderson <andersrb@gmail.com> * panic_hook: Clarify comments Signed-off-by: Brian Anderson <andersrb@gmail.com> * import: revert changes to test_panic_not_deadlocking There's an interaction here that I don't quite understand, that makes my change not work, so just reverting for now. Signed-off-by: Brian Anderson <andersrb@gmail.com>