From 37f763560b020ae0ef5ed076afc1872a57266b45 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Thu, 5 Jun 2025 22:25:13 -0400 Subject: x86_64: fix switch dispatch bug Also closes #23902 --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 13c1e50d9e..81d150b03f 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -774,7 +774,7 @@ pub const Directories = struct { /// `comp.debug_incremental`. It is inline so that comptime-known `false` propagates to the caller, /// preventing debugging features from making it into release builds of the compiler. pub inline fn debugIncremental(comp: *const Compilation) bool { - if (!build_options.enable_debug_extensions) return false; + if (!build_options.enable_debug_extensions or builtin.single_threaded) return false; return comp.debug_incremental; } -- cgit v1.2.3