fmtlib / fmt

A modern formatting library
https://fmt.dev
Other
19.83k stars 2.42k forks source link

Add FMT_FORCE_FALLBACK_FILE to force the use of fallback_file #4009

Closed Wraiyth closed 1 week ago

Wraiyth commented 3 weeks ago

Add a define to opt out of attempting to use the library/platform specific files, as mentioned in https://github.com/fmtlib/fmt/issues/3992

Specifically this helps work around an issue with apple_file is detected for use on some platforms (ie game consoles) but has buffered functionality that the platform may not support, which can cause crashes.

vitaut commented 3 weeks ago

The doc CI failure is unrelated, please ignore.

vitaut commented 1 week ago

Merged with minor tweaks in https://github.com/fmtlib/fmt/commit/2c0d9e9409fa8161b781ce9a67f12220d0605703, thanks.