mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #25473 from aschwaighofer/back_deploy_dynamic_replacement
stdlib: Add backward deployment versions for the dynamic-replacement runtime functions
This commit is contained in:
@@ -1193,6 +1193,11 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
runtimeCompatibilityVersion;
|
||||
}
|
||||
|
||||
if (!Args.hasArg(options::
|
||||
OPT_disable_autolinking_runtime_compatibility_dynamic_replacements)) {
|
||||
Opts.AutolinkRuntimeCompatibilityDynamicReplacementLibraryVersion =
|
||||
getSwiftRuntimeCompatibilityVersionForTarget(Triple);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user