Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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. Public Struct

Header

Public Struct
std.Build.Configuration.Header
pub const Header = extern struct

The field order here matches Configuration which documents the order in the serialized format.

Fields

string_bytes_len: u32
steps_len: u32
path_deps_len: u32
unlazy_deps_len: u32
system_integrations_len: u32
available_options_len: u32
search_prefixes_len: u32
extra_len: u32
default_step: Step.Index
generated_files_len: u32

There is not actually any data stored for this - it just provides a way for maker process to preallocate an array for these.

flags: Flags

Structs

File

Build/Configuration.zig:25
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pub const Header = extern struct {
    string_bytes_len: u32,
    steps_len: u32,
    path_deps_len: u32,
    unlazy_deps_len: u32,
    system_integrations_len: u32,
    available_options_len: u32,
    search_prefixes_len: u32,
    extra_len: u32,

    default_step: Step.Index,
    /// There is not actually any data stored for this - it just provides a way
    /// for maker process to preallocate an array for these.
    generated_files_len: u32,
    flags: Flags,

    pub const Flags = packed struct(u32) {
        poisoned: bool,
        _: u31 = 0,
    };
}