builtin: disable the unhandled exception handler, when `-d no_backtrace` is used (#10530)
parent
8f2f377cb1
commit
81fe702b77
|
@ -98,8 +98,10 @@ fn builtin_init() {
|
|||
C.setbuf(C.stderr, 0)
|
||||
}
|
||||
}
|
||||
$if !no_backtrace ? {
|
||||
add_unhandled_exception_handler()
|
||||
}
|
||||
}
|
||||
|
||||
fn print_backtrace_skipping_top_frames(skipframes int) bool {
|
||||
$if msvc {
|
||||
|
|
Loading…
Reference in New Issue