mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Use single function for compiledWith info
This should avoid duplication
This commit is contained in:
@@ -466,7 +466,7 @@ namespace swift::core
|
||||
boolToYesNo(CBuildConfig::isRunningOnUnixPlatform()) % separator % u"MacOS: " %
|
||||
boolToYesNo(CBuildConfig::isRunningOnMacOSPlatform()) % separator % "Build Abi: " %
|
||||
QSysInfo::buildAbi() % separator % u"Build CPU: " % QSysInfo::buildCpuArchitecture() % separator %
|
||||
CBuildConfig::compiledWithInfoLong();
|
||||
CBuildConfig::compiledWithInfo();
|
||||
|
||||
if (this->supportsContexts()) { str += (separator % u"Supporting contexts"); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user