zig

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

commit ea94ac52c531dd7e2ac2128f097fa036f5075403 (tree)
parent 032e3c92547e33be0ad0f2c6bef1c1e2a51d505c
Author: Matthew Lugg <mlugg@mlugg.co.uk>
Date:   Fri,  5 Dec 2025 15:10:03 +0100

std.debug: skip `manage resources correctly` with cbe

Diffstat:
Mlib/std/debug.zig | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/lib/std/debug.zig b/lib/std/debug.zig @@ -1604,6 +1604,13 @@ pub fn dumpStackPointerAddr(prefix: []const u8) void { test "manage resources correctly" { if (SelfInfo == void) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_c) { + // The C backend emits an extremely large C source file, meaning it has a huge + // amount of debug information. Parsing this debug information makes this test + // take too long to be worth running. + return error.SkipZigTest; + } + const S = struct { noinline fn showMyTrace() usize { return @returnAddress();