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.
This commit is contained in:
bfredl
2025-08-22 19:10:43 +02:00
parent d73cfefed5
commit ec8a0c7340

View File

@@ -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;