| ... | ... | @@ -3257,9 +3257,12 @@ fn buildOutputType( |
| 3257 | 3257 | else => false, |
| 3258 | 3258 | }; |
| 3259 | 3259 | |
| 3260 | const incremental = opt_incremental orelse false; |
| 3261 | |
| 3260 | 3262 | const disable_lld_caching = !output_to_cache; |
| 3261 | 3263 | |
| 3262 | 3264 | const cache_mode: Compilation.CacheMode = b: { |
| 3265 | if (incremental) break :b .incremental; |
| 3263 | 3266 | if (disable_lld_caching) break :b .incremental; |
| 3264 | 3267 | if (!create_module.resolved_options.have_zcu) break :b .whole; |
| 3265 | 3268 | |
| ... | ... | @@ -3272,8 +3275,6 @@ fn buildOutputType( |
| 3272 | 3275 | break :b .incremental; |
| 3273 | 3276 | }; |
| 3274 | 3277 | |
| 3275 | | const incremental = opt_incremental orelse false; |
| 3276 | | |
| 3277 | 3278 | process.raiseFileDescriptorLimit(); |
| 3278 | 3279 | |
| 3279 | 3280 | var file_system_inputs: std.ArrayListUnmanaged(u8) = .{}; |