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 standard library.
std › Build › Configuration › LazyPath › Relative Public Struct Relative Doc Source Public Struct std.Build.Configuration.LazyPath.Relative
pub const Relative = struct Fields flags : @This ().Flags sub_path : String Structs Types File Build/Configuration.zig: 1553
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576 pub const Relative = struct {
flags : @This ().Flags ,
sub_path : String ,
pub const Flags = packed struct (u32 ) {
tag : Tag = .relative ,
base : Base ,
_ : u16 = 0 ,
};
pub const Base = enum (u8 ) {
cwd ,
local_cache ,
global_cache ,
/// Must not be used with Relative since package index is missing.
build_root ,
zig_exe ,
zig_lib ,
install_prefix ,
install_lib ,
install_bin ,
install_include ,
};
}