build: skip unnecessary steps for libghostty-vt

This commit is contained in:
Sander
2026-04-15 19:39:01 +01:00
parent a971bf16a0
commit 9df670cb55

View File

@@ -263,7 +263,8 @@ pub fn build(b: *std.Build) !void {
// On macOS we can run the macOS app. For "run" we always force
// a native-only build so that we can run as quickly as possible.
if (config.target.result.os.tag.isDarwin() and
if (!config.emit_lib_vt and
config.target.result.os.tag.isDarwin() and
(config.emit_xcframework or config.emit_macos_app))
{
const xcframework_native = try buildpkg.GhosttyXCFramework.init(