Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

getEmittedBin

Returns the path to the generated executable, library or object file. To run an executable built with zig build, use run, or create an install step and invoke it.

Compile.getEmittedBin
pub fn getEmittedBin(compile: *Compile) LazyPath

File

lib/std/Build/Step/Compile.zig:700

Code

pub fn getEmittedBin(compile: *Compile) LazyPath {
    return compile.getEmittedFileGeneric(&compile.generated_bin);
}