diff options
| author | r00ster91 <r00ster91@proton.me> | 2023-03-03 18:35:03 +0100 |
|---|---|---|
| committer | r00ster91 <r00ster91@proton.me> | 2023-03-04 12:08:19 +0100 |
| commit | 65368683ad92b858d0a391cb29d37c0476784b40 (patch) | |
| tree | 741bea50bb76c77683a4c48d02f8ee63bd35c1e0 /lib/std/multi_array_list.zig | |
| parent | d6bd00e85500fa1a7909695ae5943be438f7521d (diff) | |
| download | zig-65368683ad92b858d0a391cb29d37c0476784b40.tar.gz zig-65368683ad92b858d0a391cb29d37c0476784b40.zip | |
add @trap builtin
This introduces a new builtin function that compiles down to something that results in an illegal instruction exception/interrupt.
It can be used to exit a program abnormally.
This implements the builtin for all backends.
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions
