Commit ba5d9d5a41

mlugg <mlugg@mlugg.co.uk>
2025-09-04 02:03:02
remove redundant test
turns out this actually has coverage in std.debug
1 parent 405075f
Changed files (1)
lib
std
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);