From 1311880eea5e80b5a50eb6360d183b21ec66f0c7 Mon Sep 17 00:00:00 2001 From: GasInfinity Date: Sun, 22 Mar 2026 14:03:50 +0100 Subject: [PATCH] fix: use no_builtin when including zigc in the Zcu * oops --- src/Compilation.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Compilation.zig b/src/Compilation.zig index 53a287499062332d4501a60a00676f2b42a7fe1d..5f52c541620aae3b81d15e99ce3777825bfb99cd 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -2050,7 +2050,11 @@ pub fn create(gpa: Allocator, arena: Allocator, io: Io, diag: *CreateDiagnostic, }, .fully_qualified_name = "zigc", .cc_argv = &.{}, - .inherited = .{}, + .inherited = .{ + .stack_check = false, + .stack_protector = 0, + .no_builtin = true, + }, .global = options.config, .parent = options.root_mod, }) catch |err| switch (err) { -- 2.54.0