move away from deprecated API
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 1m45s

This commit is contained in:
Emil Lerch 2024-12-19 08:53:57 -08:00
parent 0cda404b0a
commit dfda8e77d6
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -104,7 +104,7 @@ pub fn build(b: *Builder) !void {
.name = "codegen", .name = "codegen",
.root_source_file = b.path("codegen/src/main.zig"), .root_source_file = b.path("codegen/src/main.zig"),
// We need this generated for the host, not the real target // 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, .optimize = if (b.verbose) .Debug else .ReleaseSafe,
}); });
cg_exe.root_module.addImport("smithy", smithy_dep.module("smithy")); cg_exe.root_module.addImport("smithy", smithy_dep.module("smithy"));