mach/glfw/src
Stephen Gutekanst 1df13d0509 glfw: update system_sdk to match latest Zig master macOS version targeting
The latest Zig master supports specifying a specific macOS version for libc, via
the target triple (ziglang/zig#10215):

* x86_64-macos.10 (Catalina)
* x86_64-macos.11 (Big Sur)
* x86_64-macos.12 (Monterey)
* aarch64-macos.11 (Big Sur)
* aarch64-macos.12 (Monterey)

Mach's `system_sdk.zig` can now download the relevant XCode framework stubs
for Big Sur (11) and Monterey (12). Although we don't have an SDK for Catalina (10)
currently, we use the Big Sur (11) SDK in that case and it generally works fine.
By default, Zig targets the N-3 version (e.g. `x86_64-macos` defaults to `x86_64-macos.10`).

Targeting the minimum supported version is useful for compatability, it guarantees the produced
binary will run on any later macOS version. Targeting the newer version can be useful if you
wish to use newer APIs not available in previous versions.

Fixes hexops/mach#102

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-11-27 00:15:15 -07:00
..
action.zig glfw: ziggify gamepad action enumerations 2021-10-30 20:06:03 -07:00
c.zig glfw: add glfw.getInstanceProcAddress 2021-10-16 18:39:57 -07:00
clipboard.zig glfw: update possible errors comment 2021-11-23 11:07:14 -07:00
Cursor.zig glfw: Eliminate InvalidEnum 2021-11-24 05:14:48 -07:00
errors.zig glfw: Finalize removal of 'InvalidEnum' error 2021-11-24 05:14:48 -07:00
gamepad_axis.zig glfw: ziggify gamepad button enumerations 2021-10-30 20:06:03 -07:00
gamepad_button.zig glfw: ziggify gamepad button enumerations 2021-10-30 20:06:03 -07:00
GammaRamp.zig glfw: add GammaRamp type 2021-07-17 21:29:51 -07:00
hat.zig glfw: add Hat.toInt / Hat.fromInt tests, fix bug 2021-10-30 20:06:03 -07:00
Image.zig glfw: add Image type 2021-07-20 21:00:05 -07:00
internal_debug.zig glfw: amend and update various TODOs pertaining to force-init changes 2021-11-22 12:59:11 -07:00
Joystick.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
key.zig glfw: Eliminate InvalidEnum 2021-11-24 05:14:48 -07:00
main.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
mod.zig glfw: fix failing Mod bitmask tests, make fromInt/toInt work on non-6-bit integers 2021-10-30 20:06:03 -07:00
Monitor.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
mouse_button.zig glfw: make mouse buttons a proper enum 2021-10-30 20:06:03 -07:00
opengl.zig glfw: update system_sdk to match latest Zig master macOS version targeting 2021-11-27 00:15:15 -07:00
time.zig glfw: un-hardcode constant 2021-11-26 22:13:47 -07:00
version.zig glfw: deduplicate @cImport for type equivalence 2021-07-17 20:14:09 -07:00
VideoMode.zig glfw: fix and test VideoMode getters 2021-07-17 20:56:48 -07:00
vulkan.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
Window.zig glfw: update system_sdk to match latest Zig master macOS version targeting 2021-11-27 00:15:15 -07:00