Function setCwd [src]

Prototype

pub fn setCwd(run: *Run, cwd: Build.LazyPath) void

Parameters

run: *Runcwd: Build.LazyPath

Source

pub fn setCwd(run: *Run, cwd: Build.LazyPath) void { cwd.addStepDependencies(&run.step); run.cwd = cwd.dupe(run.step.owner); }