Skip to content

Commit

Permalink
Auto merge of #1956 - JohnTitor:time64, r=JohnTitor
Browse files Browse the repository at this point in the history
Add a deprecation note to `time_t` on musl

cc #1848
  • Loading branch information
bors committed Oct 25, 2020
2 parents e0a4fb0 + 61ff741 commit dd2d2db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/linux_like/linux/musl/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
pub type pthread_t = *mut ::c_void;
pub type clock_t = c_long;
#[deprecated(
since = "0.2.80",
note = "This type is changed to 64-bit in musl 1.2.0, \
we'll follow this change in the future release. \
See #1848 for more info."
)]
pub type time_t = c_long;
pub type suseconds_t = c_long;
pub type ino_t = u64;
Expand Down

0 comments on commit dd2d2db

Please sign in to comment.