From b60382267953cfdb165effe6379d78d2816aa3af Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 14 Aug 2023 22:41:09 -0700 Subject: [PATCH] make codegen releasesafe --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 007ad36..57447c9 100644 --- a/build.zig +++ b/build.zig @@ -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);