Skip to content

musl: Change time_t definition on 32-bit targets according to "time64" #1848

Description

@JohnTitor

time_t is defined as c_long on musl:

pub type time_t = c_long;

and c_long is i32 on 32-bit targets:
pub type c_long = i32;

But the time_t definition has been changed to 64-bit by https://github.com/bminor/musl/commit/38143339646a4ccce8afe298c34467767c899f51, since musl 1.2.0.
We will change our type to i64 on 32-bit targets as well at some point but we should announce it before changing.
cc #1846

Implementation history:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions