aboutsummaryrefslogtreecommitdiff
path: root/lib/std/zig.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-20 13:04:49 -0700
committerGitHub <noreply@github.com>2024-07-20 13:04:49 -0700
commitb5f3d121644031cf644271296e1ee5dbf363abeb (patch)
tree1a6aa7a7ca974b2d5e24bddf6e2f3b9f7c0040c6 /lib/std/zig.zig
parentef3a746da1a85a8b4a653cb78e0464c71d35b64e (diff)
parent645ad1ef72a09785fe5d7b33f1f9f2394bf52f57 (diff)
downloadzig-b5f3d121644031cf644271296e1ee5dbf363abeb.tar.gz
zig-b5f3d121644031cf644271296e1ee5dbf363abeb.zip
Merge pull request #20688 from ziglang/incr-test
introduce a new tool for testing incremental compilation
Diffstat (limited to 'lib/std/zig.zig')
-rw-r--r--lib/std/zig.zig6
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`.