DoxigAlpha

addOptionFallible

Function parameters

Parameters

#
options:*Options
T:type
name:[]const u8
value:T

Functions in this namespace

Functions

#
addOptionPath
The value is the path in the cache dir.
getOutput
Returns the main artifact of this Build Step which is a Zig source file

= .options

Values

#
base_id
= .options

Source

Implementation

#
fn addOptionFallible(options: *Options, comptime T: type, name: []const u8, value: T) !void {
    try printType(options, &options.contents, T, value, 0, name);
}