Skip to content

Commit dd2d2db

Browse files
committed
Auto merge of #1956 - JohnTitor:time64, r=JohnTitor
Add a deprecation note to `time_t` on musl cc #1848
2 parents e0a4fb0 + 61ff741 commit dd2d2db

File tree

1 file changed

+6
-0
lines changed
  • src/unix/linux_like/linux/musl

1 file changed

+6
-0
lines changed

src/unix/linux_like/linux/musl/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
pub type pthread_t = *mut ::c_void;
22
pub type clock_t = c_long;
3+
#[deprecated(
4+
since = "0.2.80",
5+
note = "This type is changed to 64-bit in musl 1.2.0, \
6+
we'll follow this change in the future release. \
7+
See #1848 for more info."
8+
)]
39
pub type time_t = c_long;
410
pub type suseconds_t = c_long;
511
pub type ino_t = u64;

0 commit comments

Comments
 (0)