tiny.tldr.LinkOptions
Defined in model.
API (23)
Actions
Public operations.
Fields and members
Public fields and members.
build_idcommit_observerdiagnosticsdynamic_linkereh_frame_headerentry_symbolexport_dynamicgc_sectionsicfimage_baseincremental_modeincremental_reserve_percentinputs_read_at_nsmapped_output_filemapped_output_min_sizemax_link_jobsoutput_kindpage_sizepiesonamestrip_debugtarget
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
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 22 |
| Version | 26.7.0 |
| Revision | daab053ee433 |