Function singleUnchangingWatchInput [src]
For steps that have a single input that never changes when re-running make.
Prototype
pub fn singleUnchangingWatchInput(step: *Step, lazy_path: Build.LazyPath) Allocator.Error!void
Parameters
step: *Step
lazy_path: Build.LazyPath
Source
pub fn singleUnchangingWatchInput(step: *Step, lazy_path: Build.LazyPath) Allocator.Error!void {
if (!step.inputs.populated()) try step.addWatchInput(lazy_path);
}