zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 7b1d2fa004ef8b1f59ff0b54327f47bb98e18563 (tree)
parent b57819118ddf287a135b4c2fb7182615b402fbc2
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue,  5 Nov 2024 14:31:42 +0100

Compilation: Also set essential module options when including compiler-rt.o.

Closes #21831.

Diffstat:
Msrc/Compilation.zig | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/Compilation.zig b/src/Compilation.zig @@ -1298,7 +1298,11 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil }, .fully_qualified_name = "compiler_rt", .cc_argv = &.{}, - .inherited = .{}, + .inherited = .{ + .stack_check = false, + .stack_protector = 0, + .no_builtin = true, + }, .global = options.config, .parent = options.root_mod, .builtin_mod = options.root_mod.getBuiltinDependency(),