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(...@@ -45,12 +45,14 @@ pub fn make(
4545
46 try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false);46 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
48 const maybe_output_dir = Step.evalZigProcess(50 const maybe_output_dir = Step.evalZigProcess(
49 compile_index,51 compile_index,
50 maker,52 maker,
51 argv.items,53 argv.items,
52 progress_node,54 progress_node,
53 (graph.incremental == true) and (maker.watch or maker.web_server != null),55 incremental and (maker.watch or maker.web_server != null),
54 ) catch |err| switch (err) {56 ) catch |err| switch (err) {
55 error.NeedCompileErrorCheck => {57 error.NeedCompileErrorCheck => {
56 try checkCompileErrors(arena, maker, compile_index);58 try checkCompileErrors(arena, maker, compile_index);