zig/stage1/panic.h
2022-12-06 12:15:04 -07:00

13 lines
187 B
C

#ifndef PANIC_H
#define PANIC_H
#include <stdio.h>
#include <stdlib.h>
static void panic(const char *reason) {
fprintf(stderr, "%s\n", reason);
abort();
}
#endif /* PANIC_H */