mirror-ghostty/pkg/macos/foundation
Mitchell Hashimoto 5ad8ea6b22
pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl
Fixes #6727

The major change in this commit is to consolidate all the C imports in
a single decl in main.zig. This is required for Zig 0.14. Without it,
the problem in #6727 will happen. I was never able to minimize why this
happens in order to open a Zig bug.

Beyond this, I fixed the build.zig and build.zig.zon to work with Zig
0.14 so that we can test building `pkg/macos` in isolation. There are no
downstream impacting changes in the build.zig files.
2025-03-15 07:02:53 -07:00
..
array.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
attributed_string.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
base.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
c.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
character_set.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
data.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
dictionary.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
number.zig pkg/macos: copyAttribute should return optional 2024-08-24 20:35:41 -07:00
string.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
type.zig pkg/macos: start core foundation bindings 2022-09-30 14:03:37 -07:00
url.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00