mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Make development more pleasant on MacOS Arm64
This commit is contained in:
parent
f7cad70da1
commit
0863427b3a
8 changed files with 90 additions and 10 deletions
|
@ -601,6 +601,13 @@ void abort(void) wontreturn;
|
|||
"nop"); \
|
||||
__builtin_unreachable(); \
|
||||
} while (0)
|
||||
#elif defined(__aarch64__)
|
||||
#define notpossible \
|
||||
do { \
|
||||
asm("udf\t#0\n\t" \
|
||||
"nop"); \
|
||||
__builtin_unreachable(); \
|
||||
} while (0)
|
||||
#else
|
||||
#define notpossible __builtin_trap()
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue