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

Entry

Public Union
std.Build.Step.Compile.Entry
pub const Entry = union(enum)

Fields

default: default

Let the compiler decide whether to make an entry point and what to name it.

disabled: disabled

The executable will have no entry point.

enabled: enabled

The executable will have an entry point with the default symbol name.

symbol_name: []const u8

The executable will have an entry point with the specified symbol name.

File

Build/Step/Compile.zig:261
261
262
263
264
265
266
267
268
269
270
271
pub const Entry = union(enum) {
    /// Let the compiler decide whether to make an entry point and what to name
    /// it.
    default,
    /// The executable will have no entry point.
    disabled,
    /// The executable will have an entry point with the default symbol name.
    enabled,
    /// The executable will have an entry point with the specified symbol name.
    symbol_name: []const u8,
}