diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-08-02 19:17:07 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-08-03 09:52:15 -0700 |
| commit | da91ef5c28bd11823bd84b6f54df9ca601f03e21 (patch) | |
| tree | ec6e830b6062bb2ce8e88a9e9b7e8d06f79979eb /src/link.zig | |
| parent | c94bbebb9150f68ce179caa4f6beeab0622696a6 (diff) | |
| download | zig-da91ef5c28bd11823bd84b6f54df9ca601f03e21.tar.gz zig-da91ef5c28bd11823bd84b6f54df9ca601f03e21.zip | |
zig libc: restore functionality on macOS
Regressed in 2006add8496c47804ee3b6c562f420871cb4ea0a.
References to native_darwin_sdk are no longer kept in the frontend.
Instead the darwin SDK is detected as part of NativePaths and as part of
LibCInstallation.
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/link.zig b/src/link.zig index 6e5921d815..2fea01ff89 100644 --- a/src/link.zig +++ b/src/link.zig @@ -231,6 +231,7 @@ pub const Options = struct { version: ?std.SemanticVersion, compatibility_version: ?std.SemanticVersion, + darwin_sdk_version: ?std.SemanticVersion = null, libc_installation: ?*const LibCInstallation, dwarf_format: ?std.dwarf.Format, @@ -241,9 +242,6 @@ pub const Options = struct { /// (Zig compiler development) Enable dumping of linker's state as JSON. enable_link_snapshots: bool = false, - /// (Darwin) Path and version of the native SDK if detected. - native_darwin_sdk: ?std.zig.system.darwin.DarwinSDK = null, - /// (Darwin) Install name for the dylib install_name: ?[]const u8 = null, |
