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

Options

Public Struct
std.Build.Step.ObjCopy.Options
pub const Options = struct

Fields

basename: ?[]const u8 = null
format: ?Format = null
only_section: ?[]const u8 = null
pad_to: ?u64 = null
compress_debug: bool = false
strip: Strip = .none
separate_debug_file: ?SeparateDebugFile = null

Put the stripped out debug sections in a separate file. note: the basename is baked into the elf file to specify the link to the separate debug file. see https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html

Makes getOutputSeparatedDebug return non-null.

Structs

File

Build/Step/ObjCopy.zig:38
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
pub const Options = struct {
    basename: ?[]const u8 = null,
    format: ?Format = null,
    only_section: ?[]const u8 = null,
    pad_to: ?u64 = null,

    compress_debug: bool = false,
    strip: Strip = .none,

    /// Put the stripped out debug sections in a separate file.
    /// note: the `basename` is baked into the elf file to specify the link to the separate debug file.
    /// see https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
    ///
    /// Makes `getOutputSeparatedDebug` return non-null.
    separate_debug_file: ?SeparateDebugFile = null,

    pub const SeparateDebugFile = struct {
        basename: ?[]const u8,
    };
}