move away from deprecated API
Some checks failed
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Successful in 39s
aws-zig nightly build / build-zig-nightly (push) Failing after 1m21s

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

View File

@ -107,7 +107,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.use_llvm = !no_llvm; cg_exe.use_llvm = !no_llvm;