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

RunOptions

Public Struct
std.Build.RunOptions
pub const RunOptions = struct

Fields

stderr_behavior: process.SpawnOptions.StdIo = .inherit
stdout_limit: Io.Limit = .limited(1_000_000)

Fail the configuration if stdout is larger than this.

cwd: process.Child.Cwd = .inherit

Set to change the current working directory when spawning the child process.

environ_map: ?*const process.Environ.Map = null

Replaces the child environment when provided. The PATH value from here is not used to resolve argv[0]; that resolution always uses parent environment.

expand_arg0: process.ArgExpansion = .no_expand

File

Build.zig:1724
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
pub const RunOptions = struct {
    stderr_behavior: process.SpawnOptions.StdIo = .inherit,
    /// Fail the configuration if stdout is larger than this.
    stdout_limit: Io.Limit = .limited(1_000_000),
    /// Set to change the current working directory when spawning the child
    /// process.
    cwd: process.Child.Cwd = .inherit,
    /// Replaces the child environment when provided. The PATH value from here
    /// is not used to resolve `argv[0]`; that resolution always uses parent
    /// environment.
    environ_map: ?*const process.Environ.Map = null,
    expand_arg0: process.ArgExpansion = .no_expand,
}