Landing: 601cc5ae31d8
Project / Subsystem
gcc / libstdc++
Date
2026-05-19
Author
Jonathan Wakely
Commit
601cc5ae31d8393da9b7a1047d61343bc25df9ea
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 601cc5ae31d8393da9b7a1047d61343bc25df9ea
- source_type
- github
- headline
- libstdc++: Use #embed For Static tzdata.zi File
- tldr
- The libstdc++ now uses `#embed` to include the `tzdata.zi` file, simplifying the build process.
- author
- Jonathan Wakely
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • timezone
- • build
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-19T00:00:00.000Z
The C++ standard library now uses the #embed directive to include the tzdata.zi file, which contains timezone data. This change simplifies the build process by eliminating the need for a Makefile rule to generate a header file from the data. While the compilation time impact is minimal, the new approach is considered simpler and more maintainable.