move away from deprecated API

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