releasesafe ftw

This commit is contained in:
Emil Lerch 2026-02-04 14:14:08 -08:00
parent 159e76e5e7
commit 6f590b28b7
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -68,7 +68,7 @@ pub fn build(b: *std.Build) !void {
const gen_skill_json_module = b.createModule(.{
.root_source_file = b.path("tools/gen-skill-json.zig"),
.target = native_target,
.optimize = .ReleaseFast,
.optimize = .ReleaseSafe,
});
const gen_skill_json_exe = b.addExecutable(.{
.name = "gen-skill-json",
@ -111,12 +111,12 @@ pub fn build(b: *std.Build) !void {
// Pipeline: Lambda deploy -> gen-skill-json -> ASK deploy -> add-alexa-permission
const aws_dep = b.dependency("aws", .{
.target = native_target,
.optimize = .ReleaseFast,
.optimize = .ReleaseSafe,
});
const add_alexa_perm_module = b.createModule(.{
.root_source_file = b.path("tools/add-alexa-permission.zig"),
.target = native_target,
.optimize = .ReleaseFast,
.optimize = .ReleaseSafe,
});
add_alexa_perm_module.addImport("aws", aws_dep.module("aws"));
const add_alexa_perm_exe = b.addExecutable(.{