aboutsummaryrefslogtreecommitdiffstats
path: root/build.zig
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-10-05 20:28:17 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-10-05 20:28:17 -0400
commit69c9c4a84d9c40ced2826ba450f85916f43721db (patch)
tree42a2283d332431e4bf69c74e400241dc700dbd9b /build.zig
parentbf74c7079c74f33a174f21d5c58fdaf70c20b964 (diff)
abstract gpio driver
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,
});