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"));