| ... | @@ -16,7 +16,7 @@ pub const is_enabled = builtin.mode == .Debug; | ... | @@ -16,7 +16,7 @@ pub const is_enabled = builtin.mode == .Debug; |
| 16 | /// You will also need to call initialize() on startup, preferably as the very first operation in your program. | 16 | /// You will also need to call initialize() on startup, preferably as the very first operation in your program. |
| 17 | pub const root_decls = struct { | 17 | pub const root_decls = struct { |
| 18 | pub const panic = if (is_enabled) compilerPanic else std.builtin.default_panic; | 18 | pub const panic = if (is_enabled) compilerPanic else std.builtin.default_panic; |
| 19 | pub const enable_segfault_handler = if (is_enabled) false else debug.default_enable_segfault_handler; | 19 | pub const enable_segfault_handler = false; |
| 20 | }; | 20 | }; |
| 21 | | 21 | |
| 22 | /// Install signal handlers to identify crashes and report diagnostics. | 22 | /// Install signal handlers to identify crashes and report diagnostics. |