mirror of
https://github.com/ziglang/zig.git
synced 2024-11-29 00:22:33 +00:00
12 lines
327 B
Zig
12 lines
327 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) noreturn {
|
|
_ = msg;
|
|
_ = error_return_trace;
|
|
while (true) {}
|
|
}
|