time_t is defined as c_long on musl:
|
pub type time_t = c_long; |
and
c_long is
i32 on 32-bit targets:
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:
time_tis defined asc_longon musl:libc/src/unix/linux_like/linux/musl/mod.rs
Line 3 in b1268e4
and
c_longisi32on 32-bit targets:libc/src/unix/linux_like/linux/musl/b32/mod.rs
Line 1 in b1268e4
But the
time_tdefinition 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: