Function setLinkerScript [src]

Prototype

pub fn setLinkerScript(compile: *Compile, source: LazyPath) void

Parameters

compile: *Compilesource: LazyPath

Source

pub fn setLinkerScript(compile: *Compile, source: LazyPath) void { const b = compile.step.owner; compile.linker_script = source.dupe(b); source.addStepDependencies(&compile.step); }