use zig-wasm2c for bootstrapping
This commit is contained in:
committed by
Andrew Kelley
parent
a63305bc50
commit
1263346774
12
stage1/panic.h
Normal file
12
stage1/panic.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user