diff options
Diffstat (limited to 'lib/std/zig.zig')
| -rw-r--r-- | lib/std/zig.zig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/std/zig.zig b/lib/std/zig.zig index 230dc45ddc..01d3aafa75 100644 --- a/lib/std/zig.zig +++ b/lib/std/zig.zig @@ -667,10 +667,8 @@ pub fn parseTargetQueryOrReportFatalError( }; } -pub fn fatal(comptime format: []const u8, args: anytype) noreturn { - std.log.err(format, args); - std.process.exit(1); -} +/// Deprecated; see `std.process.fatal`. +pub const fatal = std.process.fatal; /// Collects all the environment variables that Zig could possibly inspect, so /// that we can do reflection on this and print them with `zig env`. |
