Merge branch 'master' into zig-0.14

This commit is contained in:
CJ van den Berg 2025-02-06 21:44:55 +01:00
commit 9b43f005f4
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -628,6 +628,9 @@ fn gen_version_info(
else else
try writer.print("branch: {s} at {s}\n", .{ branch, remote }); try writer.print("branch: {s} at {s}\n", .{ branch, remote });
try writer.print("built with: zig {s} ({s})\n", .{ builtin.zig_version_string, @tagName(builtin.zig_backend) });
try writer.print("build mode: {s}\n", .{@tagName(builtin.mode)});
if (log.len > 0) if (log.len > 0)
try writer.print("\nwith the following diverging commits:\n{s}\n", .{log}); try writer.print("\nwith the following diverging commits:\n{s}\n", .{log});