This code is a minimal example of how to use build.zig to build a MacOS app in swift, and have it call zig code. It was created by looking at how Ghostty does it and extracting the minimal pieces to get it to work.
Cheers.
This code is a minimal example of how to use build.zig to build a MacOS app in swift, and have it call zig code. It was created by looking at how Ghostty does it and extracting the minimal pieces to get it to work.
Cheers.
wow, this looks like great stuff! thanks for sharing!!
Thanks! Any improvements you see or things that can be cleaner feel free to add issues or PRs.