Skip to content

Commit 312f520

Browse files
committed
Disable catalyst builds again
While clang and the build-system can now handle generating Catalysit-supporting executables, the OSS swift-frontend is missing something. This is failing in: SILGen/availability_query_maccatalyst_zippered_canonical_versions.swift The compiler is only emitting the availability check-info for the macOS target, not the iOS target. e.g. for the following snippet ``` if #available(OSX 10.16, iOS 51.1.2, *) { } ``` We end up emitting the literal checks for integer_literal $Builtin.Word, 10 integer_literal $Builtin.Word, 16 integer_literal $Builtin.Word, 0 but we're missing integer_literal $Builtin.Word, 51 integer_literal $Builtin.Word, 1 integer_literal $Builtin.Word, 2 This would be a most unfortunate miscompile.
1 parent a93ceed commit 312f520

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utils/build-presets.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,6 @@ mixin-preset=mixin_buildbot_install_components_with_clang
12341234
ios
12351235
tvos
12361236
watchos
1237-
maccatalyst
12381237

12391238
lldb
12401239
llbuild

0 commit comments

Comments
 (0)