Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 23c6cc0

Browse files
Geod24omerfirmak
authored andcommitted
CRuntime_Musl: Support v1.2.0 for 32 bits
As explained in the comment, `time_t` on Musl is now always 64 bits, but used to be 32 bits on 32 bits systems.
1 parent 0fd4364 commit 23c6cc0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

changelog/musl-32bits.dd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Support time64 changes for `CRuntime_Musl`
2+
3+
Up to v1.1.24, Musl used a 32 bits `time_t` on 32 bits architectures.
4+
Since v1.2.0, `time_t` is now always 64 bits.
5+
From this release, druntime will also default to a 64 bits `time_t`
6+
on 32 bits architecture, unless the `CRuntime_Musl_Pre_Time64w` is provided.
7+
8+
This change should only affect packagers for Musl-based systems who support
9+
32 bits architectures (64 bits architectures already use 64 bits `time_t`),
10+
who now need to define `CRuntime_Musl_Pre_Time64` both when building
11+
druntime / Phobos and in the default configuration, if the linked Musl is < 1.2.0.

0 commit comments

Comments
 (0)