From dfda8e77d624dfb776e3a70471501a7c610fbac1 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 a5bbc14..9de9394 100644 --- a/build.zig +++ b/build.zig @@ -104,7 +104,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.root_module.addImport("smithy", smithy_dep.module("smithy"));