Skip to content

Commit 438dca0

Browse files
authored
Merge pull request #14970 from dcci/fixinterop
2 parents 696d84b + a59d821 commit 438dca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/Metadata.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static GenericMetadataCache &unsafeGetInitializedCache(
226226
return lazyCache->unsafeGetAlreadyInitialized();
227227
}
228228

229-
#ifndef NDEBUG
229+
#if SWIFT_OBJC_INTEROP
230230
extern "C" void *_objc_empty_cache;
231231
#endif
232232

0 commit comments

Comments
 (0)