Illegal instruction handler

This commit is contained in:
Synthasmagoria 2026-07-29 14:05:03 +02:00
commit 83c1260a3a
3 changed files with 50 additions and 0 deletions

11
example/main_other.odin Normal file
View file

@ -0,0 +1,11 @@
#+vet explicit-allocators
#+build !linux
#+build !darwin
#+build !netbsd
#+build !openbsd
#+build !freebsd
#+build !windows
package main
@(private="package")
_register_illegal_instruction_handler :: proc() {}