From b49634a57c95837ae990699dc601aff5cfbde262 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 12 Feb 2023 22:06:41 -0800 Subject: [PATCH] add TODO notes about arch --- build.zig | 6 +++++- macos/Sources/Ghostty/{main.swift => entry.swift} | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename macos/Sources/Ghostty/{main.swift => entry.swift} (100%) diff --git a/build.zig b/build.zig index 3999754b7..4d340a61a 100644 --- a/build.zig +++ b/build.zig @@ -133,7 +133,11 @@ pub fn build(b: *std.build.Builder) !void { // Mac App based on Swift { - // Build the swift binary (TODO: debug vs release modes) + // Build the swift binary + // + // TODO: + // - debug vs release modes) + // - arch (arm64 vs x86_64) const swift_build = b.addSystemCommand(&.{ "swift", "build" }); swift_build.cwd = "macos"; diff --git a/macos/Sources/Ghostty/main.swift b/macos/Sources/Ghostty/entry.swift similarity index 100% rename from macos/Sources/Ghostty/main.swift rename to macos/Sources/Ghostty/entry.swift