# Sema: use trap for backends that don't support panic_fn · gitcafe/zig

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

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

Visibility: public

Requested revision: 0489a63a432b31ce0fd9d6ec6c8e2fb72a920573

Requested commit: 0489a63a432b31ce0fd9d6ec6c8e2fb72a920573

Commit: 0489a63a432b31ce0fd9d6ec6c8e2fb72a920573

Tree: bd0436c79234fa936eb1b2f60edfa8f26433bd90

Author: Jacob Young

Committer: Jacob Young

## Message

```
Sema: use trap for backends that don't support panic_fn

Debuggers also catch trap, but the code is not allowed to continue.

```

## Parents

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

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