Skip to content

Commit ba0b266

Browse files
committed
add proper version and SYSTEM_NAME
1 parent 8b184e3 commit ba0b266

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

build.zig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ pub fn build(b: *std.Build) void {
9191
.SIZE_T_STDDEF_H = 1,
9292
.SIZE_T_TYPES_H = null,
9393
.STDC_HEADERS = 1,
94-
.SYSTEM_NAME = "linux-gnu",
94+
.SYSTEM_NAME = b.fmt("{s}-{s}", .{
95+
@tagName(target.result.cpu.arch),
96+
@tagName(target.result.os.tag),
97+
}),
9598
.TURN_OFF_FPE_TRAPS = null,
9699
.TURN_ON_FPE_TRAPS = null,
97100
.USE_IEEEFP_H = null,

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.{
22
.name = .awk,
3-
.version = "0.0.1",
3+
.version = "1.3.4-20250131",
44
.minimum_zig_version = "0.15.1",
55
.fingerprint = 0xc4a2fe42a08b135,
66
.dependencies = .{

0 commit comments

Comments
 (0)