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

Commit

Permalink
CRuntime_Musl: Support v1.2.0 for 32 bits
Browse files Browse the repository at this point in the history
As explained in the comment, `time_t` on Musl is now always 64 bits,
but used to be 32 bits on 32 bits systems.
  • Loading branch information
Geod24 authored and omerfirmak committed Feb 26, 2021
1 parent 0fd4364 commit 23c6cc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions changelog/musl-32bits.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Support time64 changes for `CRuntime_Musl`

Up to v1.1.24, Musl used a 32 bits `time_t` on 32 bits architectures.
Since v1.2.0, `time_t` is now always 64 bits.
From this release, druntime will also default to a 64 bits `time_t`
on 32 bits architecture, unless the `CRuntime_Musl_Pre_Time64w` is provided.

This change should only affect packagers for Musl-based systems who support
32 bits architectures (64 bits architectures already use 64 bits `time_t`),
who now need to define `CRuntime_Musl_Pre_Time64` both when building
druntime / Phobos and in the default configuration, if the linked Musl is < 1.2.0.

0 comments on commit 23c6cc0

Please sign in to comment.