mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05: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
6
client.c
6
client.c
|
|
@ -35,8 +35,10 @@ static const char *
|
|||
version_and_features(void)
|
||||
{
|
||||
static char buf[256];
|
||||
snprintf(buf, sizeof(buf), "version: %s %cime",
|
||||
FOOT_VERSION, feature_ime() ? '+' : '-');
|
||||
snprintf(buf, sizeof(buf), "version: %s %cime %cpgo",
|
||||
FOOT_VERSION,
|
||||
feature_ime() ? '+' : '-',
|
||||
feature_pgo() ? '+' : '-');
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue