From 289dc3656c34d3d81d77a45d99502873e62fd845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 18 Aug 2026 23:42:05 +0200 Subject: [PATCH] test: fix mix_o_files standalone test to not mix libc and non-libc objects Doing so might work by accident sometimes but is not actually valid in the general case because whether libc is linked is an ABI property. --- test/standalone/mix_o_files/build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/test/standalone/mix_o_files/build.zig b/test/standalone/mix_o_files/build.zig index dcc5a09a0203d39440e92fdf0f3d7585c760e02f..3143834ffb3880ace94e618015902105e8104d94 100644 --- a/test/standalone/mix_o_files/build.zig +++ b/test/standalone/mix_o_files/build.zig @@ -13,6 +13,7 @@ pub fn build(b: *std.Build) void { .root_source_file = b.path("base64.zig"), .optimize = optimize, .target = target, + .link_libc = true, }), }); -- 2.54.0