zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f4462c0cd74c052ec58e13394c6862955b17b214 (tree)
parent f7e6d757f2cec02fbd9bf58eda8f88618d67b80a
Author: pentuppup <pentuppup@noreply.codeberg.org>
Date:   Thu, 18 Jun 2026 03:05:28 -0400

fix enabling incremental on compile steps without global incremental

Diffstat:
Mlib/compiler/Maker/Step/Compile.zig | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/compiler/Maker/Step/Compile.zig b/lib/compiler/Maker/Step/Compile.zig @@ -45,12 +45,14 @@ pub fn make( try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false); + const incremental = conf_comp.flags4.incremental.toBool() orelse graph.incremental == true; + const maybe_output_dir = Step.evalZigProcess( compile_index, maker, argv.items, progress_node, - (graph.incremental == true) and (maker.watch or maker.web_server != null), + incremental and (maker.watch or maker.web_server != null), ) catch |err| switch (err) { error.NeedCompileErrorCheck => { try checkCompileErrors(arena, maker, compile_index);