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.

getOutput

Returns the main artifact of this Build Step which is a Zig source file generated from the key-value pairs of the Options.

Options.getOutput
pub fn getOutput(options: *Options) LazyPath

File

lib/std/Build/Step/Options.zig:444

Code

pub fn getOutput(options: *Options) LazyPath {
    return .{ .generated = .{ .index = options.generated_file } };
}