unionstd.Build.Step.Compile.Entry[src]

Fields

default

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

disabled

The executable will have no entry point.

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.

Source Code

Source code
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,
}