std.debug: skip manage resources correctly with cbe

This commit is contained in:
Matthew Lugg 2025-12-05 15:10:03 +01:00 committed by Alex Rønne Petersen
parent 032e3c9254
commit ea94ac52c5
No known key found for this signature in database

View file

@ -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();