From ec8a0c73402b5cd670f7c1f3e8fae119b8864ac9 Mon Sep 17 00:00:00 2001 From: bfredl Date: Fri, 22 Aug 2025 19:10:43 +0200 Subject: [PATCH] fix(build): workaround errors in zig build due to stale cache addDirectoryArg with a source dir is not enough to depend on changes to invidiual files. as a workaround, mark this step as having side-effects (always being run) for now. --- runtime/gen_runtime.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/gen_runtime.zig b/runtime/gen_runtime.zig index 76033b6d1c..7d8ac02977 100644 --- a/runtime/gen_runtime.zig +++ b/runtime/gen_runtime.zig @@ -31,6 +31,7 @@ pub fn nvim_gen_runtime( const file = gen_step.addOutputFileArg("tags"); _ = gen_runtime.addCopyFile(file, "doc/tags"); gen_step.addDirectoryArg(b.path("runtime/doc")); + gen_step.has_side_effects = true; // workaround: missing detection of input changes } return gen_runtime;