Skip to content

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

Open
@JohnTitor

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 bminor/musl@3814333, 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions