compiling on linux - bunch of fixes #2

Merged
mdt merged 3 commits from compiling-on-linux into main 2026-02-10 14:44:44 +00:00
3 changed files with 8 additions and 6 deletions
Showing only changes of commit 777af83c7f - Show all commits

View File

@@ -47,6 +47,7 @@ pub fn build(b: *std.Build) void {
.root_source_file = b.path("src/files.zig"), .root_source_file = b.path("src/files.zig"),
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
.link_libc = true,
Outdated
Review

just one little nitpick. this is the only one needed to enable link_libc. all the other files are inherit from this. we can remove the other individual linkLibC(); calls.

just one little nitpick. this is the only one needed to enable `link_libc`. all the other files are inherit from this. we can remove the other individual `linkLibC();` calls.
}); });
files_module.addImport("core", core_module); files_module.addImport("core", core_module);
files_module.addImport("protocol", protocol_module); files_module.addImport("protocol", protocol_module);