feat: add zig version and build mode to version info
This commit is contained in:
parent
f225c9c045
commit
5f41ec12dc
1 changed files with 3 additions and 0 deletions
|
@ -628,6 +628,9 @@ fn gen_version_info(
|
|||
else
|
||||
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)
|
||||
try writer.print("\nwith the following diverging commits:\n{s}\n", .{log});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue