-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Use fmt instead of string_formatter #84332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Eh saves like 180 megabytes from the archive which I really shouldn't sneeze at. |
170ad25 to
9f2b68c
Compare
b80fe1c to
fb74872
Compare
e83570f to
fbbf5a9
Compare
f49f266 to
a5b38a9
Compare
|
Looks green enough but I want to play the game with it more and maybe change a return to a debugmsg to catch more format string issues. |
b23e54a to
4071ac0
Compare
|
Bizarre clang-tidy error. I think it's a false positive but I need to ask around. |
|
Thought about it a bunch, asked around, got enough confirmation it's a false positive that I'll suppress it (including from someone who actually read the implementation of the check). Need to actually put that up though still. |
|
The base commit is #84562 which can/should land separately. |
Summary
None
Purpose of change
Windows build got too big for its britches. That motivated me to try to migrate to fmt again after seeing it was a dominant contributor to object file size in the linux build.
Describe the solution
Use fmt::printf so we don't have to change any of our translation strings, ideally.
Describe alternatives you've considered
Idk finding some other way of reducing aggregate binary size. The problem is debug info is huge and ccache is important for our ci time to stay sane.
Testing
Before:
After:
Additional context