mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #84872 from hnrklssn/disable-safe-wrappers-in-stdlib
[Swiftify] Always skip safe wrappers when building the stdlib
This commit is contained in:
@@ -2175,6 +2175,8 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.LoadVersionIndependentAPINotes |= Args.hasArg(OPT_version_independent_apinotes);
|
||||
|
||||
Opts.DisableSafeInteropWrappers |= FrontendOpts.ParseStdlib;
|
||||
|
||||
if (FrontendOpts.DisableImplicitModules)
|
||||
Opts.DisableImplicitClangModules = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user