make codegen releasesafe

This commit is contained in:
Emil Lerch 2023-08-14 22:41:09 -07:00
parent 3b249d62b9
commit b603822679
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -66,7 +66,7 @@ pub fn build(b: *Builder) !void {
.root_source_file = .{ .path = "codegen/src/main.zig" },
// We need this generated for the host, not the real target
// .target = target,
// .optimize = optimize,
.optimize = .ReleaseSafe,
});
cg_exe.addModule("smithy", smithy_dep.module("smithy"));
var cg_cmd = b.addRunArtifact(cg_exe);