diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig index 1f913efeea..c5e163eef2 100644 --- 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);