We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8339f32 commit 1a860e7Copy full SHA for 1a860e7
lib/Basic/Platform.cpp
@@ -42,7 +42,7 @@ bool swift::tripleInfersSimulatorEnvironment(const llvm::Triple &triple) {
42
case llvm::Triple::IOS:
43
case llvm::Triple::TvOS:
44
case llvm::Triple::WatchOS:
45
- return !triple.isSimulatorEnvironment() &&
+ return !triple.hasEnvironment() &&
46
(triple.getArch() == llvm::Triple::x86 ||
47
triple.getArch() == llvm::Triple::x86_64) &&
48
!tripleIsMacCatalystEnvironment(triple);
0 commit comments