From e02fb699fc47f19d19cad99209bd480ca6963295 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 19 Dec 2024 08:53:57 -0800 Subject: [PATCH] move away from deprecated API --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 7946a7e..658934e 100644 --- a/build.zig +++ b/build.zig @@ -107,7 +107,7 @@ pub fn build(b: *Builder) !void { .name = "codegen", .root_source_file = b.path("codegen/src/main.zig"), // We need this generated for the host, not the real target - .target = b.host, + .target = b.graph.host, .optimize = if (b.verbose) .Debug else .ReleaseSafe, }); cg_exe.use_llvm = !no_llvm;