| ... | @@ -3360,6 +3360,10 @@ fn buildOutputType( | ... | @@ -3360,6 +3360,10 @@ fn buildOutputType( |
| 3360 | fatal("--debug-incremental requires -fincremental", .{}); | 3360 | fatal("--debug-incremental requires -fincremental", .{}); |
| 3361 | } | 3361 | } |
| 3362 | | 3362 | |
| | 3363 | if (incremental and create_module.resolved_options.use_llvm) { |
| | 3364 | warn("-fincremental is currently unsupported by the LLVM backend; crashes or miscompilations are likely", .{}); |
| | 3365 | } |
| | 3366 | |
| 3363 | const cache_mode: Compilation.CacheMode = b: { | 3367 | const cache_mode: Compilation.CacheMode = b: { |
| 3364 | // Once incremental compilation is the default, we'll want some smarter logic here, | 3368 | // Once incremental compilation is the default, we'll want some smarter logic here, |
| 3365 | // considering things like the backend in use and whether there's a ZCU. | 3369 | // considering things like the backend in use and whether there's a ZCU. |