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 {...@@ -696,7 +696,9 @@ pub fn producesPdbFile(compile: *Compile) bool {
696696
697pub fn producesCompilerRtDynLib(compile: *Compile) bool {697pub fn producesCompilerRtDynLib(compile: *Compile) bool {
698 if (compile.rootModuleTarget().ofmt != .coff) return false;698 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;
700}702}
701703
702pub fn producesImplib(compile: *Compile) bool {704pub fn producesImplib(compile: *Compile) bool {
test/behavior/var_args.zig+1-1
...@@ -101,7 +101,7 @@ test "simple variadic function" {...@@ -101,7 +101,7 @@ test "simple variadic function" {
101 // https://github.com/ziglang/zig/issues/14096101 // https://github.com/ziglang/zig/issues/14096
102 return error.SkipZigTest;102 return error.SkipZigTest;
103 }103 }
104 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows and builtin.zig_backend != .stage2_x86_64) return error.SkipZigTest; // TODO104 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO
105 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350105 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
106 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718106 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
107 if (builtin.cpu.arch.isRISCV() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25064107 if (builtin.cpu.arch.isRISCV() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25064