aboutsummaryrefslogtreecommitdiffstats
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index eacdb1e..00d19c4 100644
--- a/build.zig
+++ b/build.zig
@@ -12,7 +12,8 @@ pub fn build(b: *std.Build) void {
.name = "stm32",
.root_source_file = b.path("src/main.zig"),
.target = target,
- .optimize = .Debug, // .ReleaseSmall,
+ //.optimize = .Debug,
+ .optimize = .ReleaseSafe,
.linkage = .static,
});