Commit 3764f7b0f2

Andrew Kelley <andrew@ziglang.org>
2025-08-22 03:00:51
compiler: disable InternPool.debug_state as it is unsound
There can be more than one InternPool instance active at the same time.
1 parent aa92c23
Changed files (1)
src/InternPool.zig
@@ -6925,10 +6925,7 @@ pub fn deactivate(ip: *const InternPool) void {
 
 /// For debugger access only.
 const debug_state = struct {
-    const enable = switch (builtin.zig_backend) {
-        else => false,
-        .stage2_x86_64 => !builtin.strip_debug_info,
-    };
+    const enable = false;
     const enable_checks = enable and !builtin.single_threaded;
     threadlocal var intern_pool: ?*const InternPool = null;
 };