fix(build): fix zig detection script

This commit is contained in:
phaneron 2024-06-28 00:32:09 -04:00
parent 1585e5aa3a
commit 0a7831a5dd

View file

@ -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