File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
validation-test/ParseableInterface Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1771,7 +1771,6 @@ SILValue SILGenFunction::emitZipperedOSVersionRangeCheck(
17711771 // macCatalyst process it will use the iOS version.
17721772 llvm::Triple VariantTriple = *getASTContext ().LangOpts .TargetVariant ;
17731773 llvm::Triple TargetTriple = getASTContext ().LangOpts .Target ;
1774- assert (triplesAreValidForZippering (TargetTriple, VariantTriple));
17751774
17761775 // From perspective of the driver and most of the frontend,
17771776 // -target and -target-variant are symmetric. That is, the user
Original file line number Diff line number Diff line change @@ -1323,6 +1323,7 @@ bool swift::extractCompilerFlagsFromInterface(
13231323 // we have loaded a Swift interface from a different-but-compatible
13241324 // architecture slice. Use the compatible subarchitecture.
13251325 for (unsigned I = 1 ; I < SubArgs.size (); ++I) {
1326+ // FIXME: Also fix up -target-variant (rdar://135322077).
13261327 if (strcmp (SubArgs[I - 1 ], " -target" ) != 0 ) {
13271328 continue ;
13281329 }
Original file line number Diff line number Diff line change 1+ // RUN: %target-swift-frontend -typecheck %s
2+
3+ // REQUIRES: OS=macosx
4+
5+ import System
You can’t perform that action at this time.
0 commit comments