From 11b7033a351226696290983811928d22ccc85256 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Fri, 5 Dec 2025 11:56:15 -0300 Subject: codecrafters submit [skip ci] --- build.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 0eccf2a..c325e60 100644 --- a/build.zig +++ b/build.zig @@ -2,11 +2,14 @@ const std = @import("std"); // Learn more about this file here: https://ziglang.org/learn/build-system pub fn build(b: *std.Build) void { + const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseFast }); + const exe = b.addExecutable(.{ .name = "main", .root_module = b.createModule(.{ .root_source_file = b.path("src/main.zig"), .target = b.graph.host, + .optimize = optimize, }), }); -- cgit v1.2.3