fix(build): fix zig detection script

This commit is contained in:
phaneron 2024-06-28 00:29:22 -04:00
parent b36ed83332
commit 0b5b0654f4

View file

@ -1,7 +1,7 @@
const std = @import("std");
pub fn add_defines(b: *std.Build, compile_step: *std.Build.Step.Compile) void {
const target = b.standardTargetOptions(.{});
const target = compile_step.rootModuleTarget();
const t = target.result;
// define size of pointer