From 0a7831a5dd93bd573844d05cdfd8590857576a59 Mon Sep 17 00:00:00 2001 From: superp00t Date: Fri, 28 Jun 2024 00:32:09 -0400 Subject: [PATCH] fix(build): fix zig detection script --- zig/system.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig/system.zig b/zig/system.zig index 1381971..5fa57ef 100644 --- a/zig/system.zig +++ b/zig/system.zig @@ -1,7 +1,7 @@ const std = @import("std"); pub fn add_defines(compile_step: *std.Build.Step.Compile) void { - const target = compile_step.rootModuleTarget(); + const target = compile_step.root_module.resolved_target; const t = target.result; // define size of pointer