Small binary

This commit is contained in:
Imbus 2024-08-29 08:53:31 +02:00
parent cefc7f4552
commit 5e56175fbe

View file

@ -1,8 +1,11 @@
const std = @import("std"); const std = @import("std");
const Mode = std.builtin.OptimizeMode;
pub fn build(b: *std.Build) void { pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{}); const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{}); const optimize = b.standardOptimizeOption(.{
.preferred_optimize_mode = Mode.ReleaseSmall,
});
const exe = b.addExecutable(.{ const exe = b.addExecutable(.{
.name = "newtest", .name = "newtest",