diff options
Diffstat (limited to 'src/global.zig')
-rw-r--r-- | src/global.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.zig b/src/global.zig index 38ceac916..55ffbc55b 100644 --- a/src/global.zig +++ b/src/global.zig @@ -384,6 +384,8 @@ pub const Output = struct { }; pub const Global = struct { + pub const build_id = std.fmt.parseInt(u64, @embedFile("../build-id"), 10) catch unreachable; + pub fn panic(comptime fmt: string, args: anytype) noreturn { @setCold(true); if (comptime isWasm) { |