mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add the distribution tag to -print-target-info
Ideally this would also update the `--version` output to be overridden by `SWIFT_TOOLCHAIN_VERSION`, but unfortunately various tools rely on the current format (eg. swift-build).
This commit is contained in:
@@ -932,7 +932,7 @@ class ModuleInterfaceLoaderImpl {
|
||||
return std::make_error_code(std::errc::not_supported);
|
||||
} else if (isInResourceDir(adjacentMod) &&
|
||||
loadMode == ModuleLoadingMode::PreferSerialized &&
|
||||
!version::isCurrentCompilerTagged() &&
|
||||
version::getCurrentCompilerSerializationTag().empty() &&
|
||||
rebuildInfo.getOrInsertCandidateModule(adjacentMod)
|
||||
.serializationStatus !=
|
||||
serialization::Status::SDKMismatch &&
|
||||
|
||||
Reference in New Issue
Block a user