Enhance build options and refactor memory management for configuration parsing

This commit is contained in:
2026-08-02 18:16:58 +02:00
parent 84c4158aaa
commit b1bdfccd1e
2 changed files with 11 additions and 9 deletions

View File

@@ -2,7 +2,9 @@ const std = @import("std");
pub fn build(b: *std.Build) void
{
const target = b.standardTargetOptions(.{});
const target = b.standardTargetOptions(.{
.default_target = .{ .abi = .musl },
});
const optimize = b.standardOptimizeOption(.{});
const version = getGitVersion(b);
@@ -44,6 +46,7 @@ pub fn build(b: *std.Build) void
}),
});
exe.root_module.link_libc = true;
exe.root_module.addOptions("build_options", options);
//