mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ModuleInterface] Change swift-tools-version to swift-compiler-version (#25160)
swift-tools-version as used by SwiftPM is an actual, parsed field with semantic meaning. swift-compiler-version as used when generating module interfaces is just to record what version of the compiler generated the interface. They shouldn't have the same name.
This commit is contained in:
@@ -66,7 +66,7 @@ static void printToolVersionAndFlagsComment(raw_ostream &out,
|
||||
Ctx.LangOpts.EffectiveLanguageVersion);
|
||||
out << "// " SWIFT_INTERFACE_FORMAT_VERSION_KEY ": "
|
||||
<< InterfaceFormatVersion << "\n";
|
||||
out << "// " SWIFT_TOOLS_VERSION_KEY ": "
|
||||
out << "// " SWIFT_COMPILER_VERSION_KEY ": "
|
||||
<< ToolsVersion << "\n";
|
||||
out << "// " SWIFT_MODULE_FLAGS_KEY ": "
|
||||
<< Opts.ParseableInterfaceFlags << "\n";
|
||||
|
||||
Reference in New Issue
Block a user