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 Union

RunResult

Public Union
std.Build.RunResult
pub const RunResult = union(enum)

Fields

success: []u8

Thild process exited with code 0, writing this stdout.

spawn_failed: process.SpawnError

The child process could not be created.

bad_exit_code: u8

The child process indicated failure.

crashed: crashed

The child process terminated abnormally.

File

Build.zig:1738
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
pub const RunResult = union(enum) {
    /// Thild process exited with code 0, writing this stdout.
    success: []u8,
    /// The child process could not be created.
    spawn_failed: process.SpawnError,
    /// The child process indicated failure.
    bad_exit_code: u8,
    /// The child process terminated abnormally.
    crashed,
}