From 8ca5c953f125d170144c64a7e44cf7f763f939a7 Mon Sep 17 00:00:00 2001 From: Mason Remaley Date: Wed, 17 Dec 2025 01:03:07 -0800 Subject: [PATCH] Cleans up build --- build.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 7ada76c..f8a548a 100644 --- a/build.zig +++ b/build.zig @@ -11,7 +11,6 @@ pub fn build(b: *std.Build) void { // Standard options const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const native_target = b.resolveTargetQuery(.{}); const test_filters = b.option( []const []const u8, "test-filter", @@ -105,7 +104,7 @@ pub fn build(b: *std.Build) void { .name = "generate", .root_module = b.createModule(.{ .root_source_file = b.path("src/generate.zig"), - .target = native_target, + .target = b.graph.host, .optimize = optimize, }), });