commit ba5d9d5a4198e49c6b9c1d02e4f97e24412f8f65 (tree)
parent 405075f7455492717ac6cba505603eb74e4f54b9
Author: mlugg <mlugg@mlugg.co.uk>
Date: Thu, 4 Sep 2025 01:03:02 +0100
remove redundant test
turns out this actually has coverage in std.debug
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig
@@ -87,11 +87,6 @@ pub fn deinit(self: *SelfInfo, gpa: Allocator) void {
self.modules.deinit(gpa);
if (Module.LookupCache != void) self.lookup_cache.deinit(gpa);
}
-test {
- // `std.debug` does not currently utilize `deinit`, as it keeps hold of debug info for the
- // whole lifetime of the program. Let's try to avoid it bitrotting.
- _ = &deinit;
-}
pub fn unwindFrame(self: *SelfInfo, gpa: Allocator, context: *UnwindContext) Error!usize {
comptime assert(supports_unwinding);