mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #84574 from madsodgaard/android-availability
This commit is contained in:
@@ -301,6 +301,8 @@ llvm::VersionTuple swift::getVersionForTriple(const llvm::Triple &triple) {
|
||||
return triple.getOSVersion();
|
||||
} else if (triple.isOSWindows()) {
|
||||
return triple.getOSVersion();
|
||||
} else if (triple.isAndroid()) {
|
||||
return triple.getEnvironmentVersion();
|
||||
}
|
||||
return llvm::VersionTuple(/*Major=*/0, /*Minor=*/0, /*Subminor=*/0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user