Add podman release build tooling + misc build fixes (#1455)

This commit is contained in:
trapexit 2025-05-08 00:00:53 -05:00 • committed by GitHub
parent 344014aa81
commit fa3266ca7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
90 changed files with 1207 additions and 3657 deletions

View file

@ -18,6 +18,8 @@
#include "to_string.hpp"
#include "fmt/core.h"
#include <cstdint>
#include <string>
@ -35,21 +37,13 @@ namespace str
std::string
to(const int int_)
{
char buf[24];
sprintf(buf,"%d",int_);
return buf;
return fmt::format("{}",int_);
}
std::string
to(const uint64_t uint64_)
{
char buf[64];
sprintf(buf,"%llu",(unsigned long long)uint64_);
return buf;
return fmt::format("{}",uint64_);
}
std::string