aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
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;
}