mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #73662 from DougGregor/concurrency-now-with-availability
This commit is contained in:
@@ -470,13 +470,6 @@ static void SaveModuleInterfaceArgs(ModuleInterfaceOptions &Opts,
|
||||
interleave(RenderedArgs,
|
||||
[&](const char *Argument) { PrintArg(OS, Argument, StringRef()); },
|
||||
[&] { OS << " "; });
|
||||
|
||||
// Backward-compatibility hack: disable availability checking in the
|
||||
// _Concurrency module, so that older (Swift 5.5) compilers that did not
|
||||
// support back deployment of concurrency do not complain about 'async'
|
||||
// with older availability.
|
||||
if (FOpts.ModuleName == "_Concurrency")
|
||||
OS << " -disable-availability-checking";
|
||||
}
|
||||
{
|
||||
llvm::raw_string_ostream OS(Opts.IgnorablePrivateFlags);
|
||||
|
||||
Reference in New Issue
Block a user