From 22e6b1d609c6d2dd87b5206bf21d2bf94b30f2d4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 24 Aug 2026 16:05:01 -0700 Subject: [PATCH] start: no special handling for spork8 needed All the existing conditionals already handle it correctly. --- lib/std/start.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/std/start.zig b/lib/std/start.zig index 470f60e1a198ade629f0a55a68207feac9ab6c65..228b51e08ef9cd2b0eaaa8d8f5e974e1613076d7 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -19,9 +19,7 @@ comptime { // decls there get run. _ = root; - if (builtin.cpu.arch == .spork8) { - // always freestanding, even exes - } else if (builtin.output_mode == .Lib and builtin.link_mode == .dynamic) { + if (builtin.output_mode == .Lib and builtin.link_mode == .dynamic) { const dll_main_crt_startup = if (builtin.abi.isGnu()) "DllMainCRTStartup" else "_DllMainCRTStartup"; if (native_os == .windows and !builtin.link_libc and !@hasDecl(root, dll_main_crt_startup)) { @export(&DllMainCRTStartup, .{ .name = dll_main_crt_startup }); -- 2.54.0