authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-04 01:03:02+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-30 13:44:50+01:00
logba5d9d5a4198e49c6b9c1d02e4f97e24412f8f65
tree78415fd90b600f9c94473b06ceb728d39b9153d4
parent405075f7455492717ac6cba505603eb74e4f54b9
signaturelock-open Commit is signed but in an unrecognized format.

remove redundant test

turns out this actually has coverage in std.debug

1 files changed, 0 insertions(+), 5 deletions(-)

lib/std/debug/SelfInfo.zig-5
......@@ -87,11 +87,6 @@ pub fn deinit(self: *SelfInfo, gpa: Allocator) void {
8787 self.modules.deinit(gpa);
8888 if (Module.LookupCache != void) self.lookup_cache.deinit(gpa);
8989}
90test {
91 // `std.debug` does not currently utilize `deinit`, as it keeps hold of debug info for the
92 // whole lifetime of the program. Let's try to avoid it bitrotting.
93 _ = &deinit;
94}
9590
9691pub fn unwindFrame(self: *SelfInfo, gpa: Allocator, context: *UnwindContext) Error!usize {
9792 comptime assert(supports_unwinding);