authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-05 14:31:42+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-05 14:43:02+01:00
log7b1d2fa004ef8b1f59ff0b54327f47bb98e18563
tree761955a8c2aac3be83ab9105afbf4e13771f66b5
parentb57819118ddf287a135b4c2fb7182615b402fbc2
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

Closes #21831.

1 files changed, 5 insertions(+), 1 deletions(-)

src/Compilation.zig+5-1
......@@ -1298,7 +1298,11 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil
12981298 },
12991299 .fully_qualified_name = "compiler_rt",
13001300 .cc_argv = &.{},
1301 .inherited = .{},
1301 .inherited = .{
1302 .stack_check = false,
1303 .stack_protector = 0,
1304 .no_builtin = true,
1305 },
13021306 .global = options.config,
13031307 .parent = options.root_mod,
13041308 .builtin_mod = options.root_mod.getBuiltinDependency(),