pub const LibraryOptions = struct linkage: std.builtin.LinkMode = .staticname: []const u8root_module: *Moduleversion: ?std.SemanticVersion = nullmax_rss: u64 = 0use_llvm: ?bool = nulluse_lld: ?bool = nullzig_lib_dir: ?LazyPath = nullwin32_manifest: ?LazyPath = nullDeprecated. This functionality will be moved to an external package: https://codeberg.org/ziglang/rc
Embed a .manifest file in the compilation if the object format supports it. https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-files-reference Manifest files must have the extension .manifest. Can be set regardless of target. The .manifest file will be ignored if the target object format does not support embedded manifests.
win32_module_definition: ?LazyPath = nullWin32 module definition file (.def).
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633pub const LibraryOptions = struct {
linkage: std.builtin.LinkMode = .static,
name: []const u8,
root_module: *Module,
version: ?std.SemanticVersion = null,
max_rss: u64 = 0,
use_llvm: ?bool = null,
use_lld: ?bool = null,
zig_lib_dir: ?LazyPath = null,
/// Deprecated. This functionality will be moved to an external package:
/// https://codeberg.org/ziglang/rc
///
/// Embed a `.manifest` file in the compilation if the object format supports it.
/// https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-files-reference
/// Manifest files must have the extension `.manifest`.
/// Can be set regardless of target. The `.manifest` file will be ignored
/// if the target object format does not support embedded manifests.
win32_manifest: ?LazyPath = null,
/// Win32 module definition file (.def).
win32_module_definition: ?LazyPath = null,
}