cosmetic changes

Test: m nothing
Bug: N/A
Change-Id: Ia74a09a6ee42560562e2e1a15e972860e77a5724
This commit is contained in:
Usta Shrestha
2022-06-22 11:01:55 -04:00
parent 2923fa8bcf
commit 16ac13506e
3 changed files with 17 additions and 17 deletions

View File

@@ -938,12 +938,12 @@ func getConfigString(key cqueryKey) string {
// Use host platform, which is currently hardcoded to be x86_64.
arch = "x86_64"
}
os := key.configKey.osType.Name
if len(os) == 0 || os == "common_os" || os == "linux_glibc" {
osName := key.configKey.osType.Name
if len(osName) == 0 || osName == "common_os" || osName == "linux_glibc" {
// Use host OS, which is currently hardcoded to be linux.
os = "linux"
osName = "linux"
}
return arch + "|" + os
return arch + "|" + osName
}
func GetConfigKey(ctx BaseModuleContext) configKey {