move away from deprecated API
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 1m45s
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 1m45s
This commit is contained in:
parent
0cda404b0a
commit
dfda8e77d6
|
@ -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"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user