FEX-Emu / FEX-Emu/FEX

Begin migrating from fmt to c++20 format

Open
#3,677 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

libstdc++ and libc++ on all of our supported distros is now new enough to support .

This should be mostly straightforward to implement, the only weird one will be fextl::fmt::vformat since it uses the fmt::basic_memory_buffer for custom allocator support. There's no direct 1:1 replacement in the C++ standard so will need some massaging.

This will remove one more external project dependency in a relatively straight forward way. Low-prio but shouldn't be terrible to do.

Contributor guide

Open the contributing guide

Research direction

Start by locating the fmt usage and the fextl::fmt::vformat implementation, then trace how its custom allocator support is used. Verify the migration across the supported distro builds and existing tests; done means the relevant formatting behavior remains intact and the external fmt dependency is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.