mirror-ghostty/pkg/macos
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
..
animation pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
carbon pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
dispatch pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
foundation pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
graphics pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
os pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
text pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
video pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
animation.zig pkg/macos: animation yeet usingns 2024-08-16 16:35:07 -07:00
build.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
build.zig.zon pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
carbon.zig pkg/macos: expose carbon API 2024-09-19 09:22:07 -07:00
dispatch.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
foundation.zig pkg/macos: foundation yeet usingns 2024-08-16 16:33:47 -07:00
graphics.zig pkg/macos: graphics usingns yeet 2024-08-16 16:38:04 -07:00
main.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
os.zig pkg/macos: more 2024-08-16 16:39:33 -07:00
text.zig font(coretext): add metrics test case for CT, fix variable font init 2024-12-11 21:14:21 -05:00
video.zig pkg/macos: more 2024-08-16 16:39:33 -07:00