Skip to documentation
SLOP

tiny.tldr.LinkOptions

Reference tiny.tldr LinkOptions

Defined in model.

API (23)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callsmodelLinkOptions
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/tldr/src/model.zig:223

zig
pub const LinkOptions = struct {    target: Target = .linux_x86_64_elf,    output_kind: OutputKind = .executable,    entry_symbol: []const u8 = "_start",    image_base: u64 = 0x400000,    page_size: u64 = 0x1000,    pie: bool = false,    dynamic_linker: ?[]const u8 = null,    soname: ?[]const u8 = null,    export_dynamic: bool = false,    eh_frame_header: bool = false,    incremental_mode: IncrementalMode = .prepare,    incremental_reserve_percent: u8 = 24,    inputs_read_at_ns: i64 = 0,    gc_sections: bool = false,    icf: IcfMode = .off,    strip_debug: bool = false,    build_id: BuildIdMode = .none,    max_link_jobs: usize = 0,    mapped_output_file: ?std.Io.File = null,    mapped_output_min_size: usize = 8 * 1024 * 1024,    diagnostics: ?*Diagnostics = null,    commit_observer: ?LinkCommitObserver = null,    pub fn requiresDynamicLinking(self: LinkOptions) bool {        return self.output_kind == .shared_library or            self.pie or            self.dynamic_linker != null or            self.soname != null or            self.export_dynamic;    }};

Source: lib/tldr/src/root.zig:68

zig
pub const LinkOptions = model.LinkOptions;

Audit

Definitions2
Public names4
Members22
Version26.7.0
Revisiondaab053ee433