mirror-ghostty/pkg/macos/text
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
..
c.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
ext.c pkg/macos: fix zig C ABI issue 2022-10-10 09:18:57 -07:00
font.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
font_collection.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
font_descriptor.zig pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl 2025-03-15 07:02:53 -07:00
font_manager.zig font(coretext): add metrics test case for CT, fix variable font init 2024-12-11 21:14:21 -05:00
frame.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
framesetter.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
line.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
paragraph_style.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
run.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00
stylized_strings.zig pkg/macos: yeet more usingns 2024-08-16 16:50:41 -07:00