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 c6556d8 commit af6b24bCopy full SHA for af6b24b
lib/IRGen/IRGenSIL.cpp
@@ -2564,7 +2564,7 @@ void IRGenModule::emitSILFunction(SILFunction *f) {
2564
return;
2565
2566
// Type metadata for foreign references is not yet supported on Windows. Bug #76168.
2567
- if (Context.LangOpts.EnableCXXInterop &&
+ if (Context.LangOpts.EnableCXXInterop && !Context.LangOpts.hasFeature(Feature::Embedded) &&
2568
f->getLinkage() == SILLinkage::Public &&
2569
!Context.LangOpts.Target.isOSWindows())
2570
noteUseOfMetadataByCXXInterop(IRGen, f, TypeExpansionContext(*f));
0 commit comments