authorgravatar for pentuppup@noreply.codeberg.orgpentuppup <pentuppup@noreply.codeberg.org> 2026-06-18 03:05:28-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-19 16:09:09+02:00
logf4462c0cd74c052ec58e13394c6862955b17b214
tree817eb592898ef29191ba1a50f5b6e8616c036972
parentf7e6d757f2cec02fbd9bf58eda8f88618d67b80a

fix enabling incremental on compile steps without global incremental


1 files changed, 3 insertions(+), 1 deletions(-)

lib/compiler/Maker/Step/Compile.zig+3-1
......@@ -45,12 +45,14 @@ pub fn make(
4545
4646 try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false);
4747
48 const incremental = conf_comp.flags4.incremental.toBool() orelse graph.incremental == true;
49
4850 const maybe_output_dir = Step.evalZigProcess(
4951 compile_index,
5052 maker,
5153 argv.items,
5254 progress_node,
53 (graph.incremental == true) and (maker.watch or maker.web_server != null),
55 incremental and (maker.watch or maker.web_server != null),
5456 ) catch |err| switch (err) {
5557 error.NeedCompileErrorCheck => {
5658 try checkCompileErrors(arena, maker, compile_index);