Small binary
This commit is contained in:
parent
cefc7f4552
commit
5e56175fbe
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue