# compiler: better crash handler · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d9661e9e05af7a4be31c17cbfbbd8bc44d7c9000)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d9661e9e05af7a4be31c17cbfbbd8bc44d7c9000

Requested commit: d9661e9e05af7a4be31c17cbfbbd8bc44d7c9000

Commit: d9661e9e05af7a4be31c17cbfbbd8bc44d7c9000

Tree: 3a13bbd3391f31707089ba5f3f54569fe131612f

Author: mlugg

Committer: mlugg

## Message

```
compiler: better crash handler

Far simpler, because everything which `crash_report.zig` did is now
handled pretty well by `std.debug` anyway. All we want is to print some
context around panics and segfaults. Using the new ability to override
the default segfault handler while still having std handle the
target-specific bits for us, that's really simple.

```

## Parents

- [3a561da38d42ba331eb67bdb7d86d4a3e9b74533](https://git.cafe/gitcafe/zig/commit/3a561da38d42ba331eb67bdb7d86d4a3e9b74533?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d9661e9e05af7a4be31c17cbfbbd8bc44d7c9000?format=markdown)
