mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: pass down -disable-availability-checking to module building command
Related to: rdar://80703470
This commit is contained in:
@@ -1319,6 +1319,10 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
// If we are supposed to use RequireOSSAModules, do so.
|
||||
genericSubInvocation.getSILOptions().EnableOSSAModules =
|
||||
bool(RequireOSSAModules);
|
||||
if (LangOpts.DisableAvailabilityChecking) {
|
||||
genericSubInvocation.getLangOptions().DisableAvailabilityChecking = true;
|
||||
GenericArgs.push_back("-disable-availability-checking");
|
||||
}
|
||||
}
|
||||
|
||||
bool InterfaceSubContextDelegateImpl::extractSwiftInterfaceVersionAndArgs(
|
||||
|
||||
Reference in New Issue
Block a user