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 93ab767 commit c7da0f3Copy full SHA for c7da0f3
stdlib/private/StdlibUnittestFoundationExtras/StdlibUnittestFoundationExtras.swift
@@ -72,7 +72,7 @@ public func withOverriddenLocaleCurrentLocale<Result>(
72
public func autoreleasepoolIfUnoptimizedReturnAutoreleased(
73
invoking body: () -> Void
74
) {
75
-#if arch(i386) && (os(iOS) || os(watchOS))
+#if targetEnvironment(simulator) && arch(i386) && (os(iOS) || os(watchOS))
76
autoreleasepool(invoking: body)
77
#else
78
body()
0 commit comments