From ea94ac52c531dd7e2ac2128f097fa036f5075403 Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Fri, 5 Dec 2025 15:10:03 +0100 Subject: [PATCH] std.debug: skip `manage resources correctly` with cbe --- lib/std/debug.zig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 29c0731f4e..f93612df15 100644 --- 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();