mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
build: simulator should use iphoneos metal, its the -m flags important
This commit is contained in:
@@ -25,7 +25,9 @@ pub fn create(b: *std.Build, opts: Options) ?*MetallibStep {
|
||||
const sdk = switch (opts.target.result.os.tag) {
|
||||
.macos => "macosx",
|
||||
.ios => switch (opts.target.result.abi) {
|
||||
.simulator => "iphonesimulator",
|
||||
// The iOS simulator uses the same SDK for Metal as the device,
|
||||
// but the minimum version tag causes different behaviors.
|
||||
.simulator => "iphoneos",
|
||||
else => "iphoneos",
|
||||
},
|
||||
else => return null,
|
||||
|
Reference in New Issue
Block a user