mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user