Needed for mariadb. ref: https://github.com/fmtlib/fmt/issues/3835
mentioned in merge request !66285 (merged)