mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Concurrency] Remove -executor-factory option and replace with magic type.
We decided that using a magic typealias to set the executor factory was better than using a compiler option. Remove the `-executor-factory` option, and replace by looking up the `DefaultExecutorFactory` type, first in the main module, and then if that fails in Concurrency. rdar://149058236
This commit is contained in:
@@ -379,10 +379,6 @@ void ToolChain::addCommonFrontendArgs(const OutputInfo &OI,
|
||||
arguments.push_back(inputArgs.MakeArgString(globalRemapping));
|
||||
}
|
||||
|
||||
if (inputArgs.hasArg(options::OPT_executor_factory)) {
|
||||
inputArgs.AddLastArg(arguments, options::OPT_executor_factory);
|
||||
}
|
||||
|
||||
// Pass through the values passed to -Xfrontend.
|
||||
inputArgs.AddAllArgValues(arguments, options::OPT_Xfrontend);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user