mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 17:12:31 +00:00
12 lines
338 B
Zig
12 lines
338 B
Zig
export fn main(r0: u32, r1: u32, atags: u32) callconv(.C) noreturn {
|
|
_ = r0;
|
|
_ = r1;
|
|
_ = atags;
|
|
unreachable; // never gets run so it doesn't matter
|
|
}
|
|
pub fn panic(msg: []const u8, error_return_trace: ?*@import("std").builtin.StackTrace, _: ?usize) noreturn {
|
|
_ = msg;
|
|
_ = error_return_trace;
|
|
while (true) {}
|
|
}
|