From b09bfff49430b6616a997d9a86cbd9bc983c9e6f Mon Sep 17 00:00:00 2001 From: Matt Knight Date: Thu, 25 Apr 2024 22:02:38 -0700 Subject: [PATCH] b.host target --- build.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.zig b/build.zig index ec94e0d..6464254 100644 --- a/build.zig +++ b/build.zig @@ -214,11 +214,10 @@ pub fn install_cart(b: *Build, cart: *Cart) void { } fn add_zeroman_assets_step(b: *Build, cart: *Cart) void { - const host_target = b.resolveTargetQuery(.{}); const convert = b.addExecutable(.{ .name = "convert_gfx", .root_source_file = b.path("samples/zeroman/build/convert_gfx.zig"), - .target = host_target, + .target = b.host, .optimize = cart.options.optimize, }); convert.root_module.addImport("zigimg", b.dependency("zigimg", .{}).module("zigimg"));