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