Cleans up build

This commit is contained in:
Mason Remaley 2025-12-17 01:03:07 -08:00
parent 241b2ee6a4
commit 8ca5c953f1

View file

@ -11,7 +11,6 @@ pub fn build(b: *std.Build) void {
// Standard options // Standard options
const target = b.standardTargetOptions(.{}); const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{}); const optimize = b.standardOptimizeOption(.{});
const native_target = b.resolveTargetQuery(.{});
const test_filters = b.option( const test_filters = b.option(
[]const []const u8, []const []const u8,
"test-filter", "test-filter",
@ -105,7 +104,7 @@ pub fn build(b: *std.Build) void {
.name = "generate", .name = "generate",
.root_module = b.createModule(.{ .root_module = b.createModule(.{
.root_source_file = b.path("src/generate.zig"), .root_source_file = b.path("src/generate.zig"),
.target = native_target, .target = b.graph.host,
.optimize = optimize, .optimize = optimize,
}), }),
}); });