authorgravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2026-03-28 02:23:14-04:00
committergravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2026-03-28 02:51:20-04:00
log2b72c0d30473d020583b967fc8b494335f4fe75c
tree6c721213d96b46277d71b308949061de3b153cd3
parent571b151423a5616802bcc235ed3bb0e76adf29d9

- Fixup `producesCompilerRtDynLib` conditions

- Fixup skipping the new float varags test on .stage2_llvm

2 files changed, 4 insertions(+), 2 deletions(-)

lib/std/Build/Step/Compile.zig+3-1
......@@ -696,7 +696,9 @@ pub fn producesPdbFile(compile: *Compile) bool {
696696
697697pub fn producesCompilerRtDynLib(compile: *Compile) bool {
698698 if (compile.rootModuleTarget().ofmt != .coff) return false;
699 return compile.use_llvm == false;
699 if (compile.bundle_compiler_rt orelse (compile.kind == .exe or compile.isDynamicLibrary()))
700 return compile.use_llvm == false;
701 return false;
700702}
701703
702704pub fn producesImplib(compile: *Compile) bool {
test/behavior/var_args.zig+1-1
......@@ -101,7 +101,7 @@ test "simple variadic function" {
101101 // https://github.com/ziglang/zig/issues/14096
102102 return error.SkipZigTest;
103103 }
104 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows and builtin.zig_backend != .stage2_x86_64) return error.SkipZigTest; // TODO
104 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO
105105 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
106106 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
107107 if (builtin.cpu.arch.isRISCV() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25064