mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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:
@@ -171,11 +171,6 @@ std::string getSwiftFullVersion(Version effectiveLanguageVersion =
|
||||
/// this Swift was built.
|
||||
StringRef getSwiftRevision();
|
||||
|
||||
/// Is the running compiler built with a version tag for distribution?
|
||||
/// When true, \c version::getCurrentCompilerVersion returns a valid version
|
||||
/// and \c getCurrentCompilerTag returns the version tuple in string format.
|
||||
bool isCurrentCompilerTagged();
|
||||
|
||||
/// Retrieves the distribution tag of the running compiler, if any.
|
||||
StringRef getCurrentCompilerTag();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user