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

PathArgOptions

Public Struct
std.Build.Step.Run.PathArgOptions
pub const PathArgOptions = struct

Fields

prefix: []const u8 = ""
suffix: []const u8 = ""
make_absolute: bool = false

Makes the path absolute before passing it to the child process. Not supported by all hosts, prefer accepting relative paths when possible.

File

Build/Step/Run.zig:257
257
258
259
260
261
262
263
pub const PathArgOptions = struct {
    prefix: []const u8 = "",
    suffix: []const u8 = "",
    /// Makes the path absolute before passing it to the child process. Not supported by all hosts,
    /// prefer accepting relative paths when possible.
    make_absolute: bool = false,
}