diff options
Diffstat (limited to 'std/panic.zig')
| -rw-r--r-- | std/panic.zig | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/std/panic.zig b/std/panic.zig deleted file mode 100644 index 9b58a4d9c8..0000000000 --- a/std/panic.zig +++ /dev/null @@ -1,12 +0,0 @@ -// This file is included if and only if the user's main source file does not -// include a public panic function. -// If this file wants to import other files *by name*, support for that would -// have to be added in the compiler. - -pub coldcc fn panic(message: []const u8) -> noreturn { - if (@compileVar("os") == Os.freestanding) { - while (true) {} - } else { - @import("std").debug.panic(message); - } -} |
