mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
features: --version now logs +/-pgo
That is, whether the binary was compiled with PGO or not.
This commit is contained in:
parent
649820eeba
commit
9b20764f35
4 changed files with 20 additions and 4 deletions
|
|
@ -10,3 +10,12 @@ static inline bool feature_ime(void)
|
|||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline bool feature_pgo(void)
|
||||
{
|
||||
#if defined(FOOT_PGO_ENABLED) && FOOT_PGO_ENABLED
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue