summary refs log tree commit diff
path: root/src/libstd/sys/redox/time.rs
AgeCommit message (Collapse)AuthorLines
2018-06-04Clarify error phrase in `sub_instant` functionClaudio Bley-1/+1
Uses the same wording as [`src/libstd/sys/windows/time.rs`][1]. 1: https://github.com/avdv/rust/blob/95e2bf253d864c5e14ad000ffa2040ce85916056/src/libstd/sys/windows/time.rs#L65
2017-12-19Add Hash impl for SystemTime and InstantVitaly _Vi Shukela-2/+10
Closes #46670.
2017-09-07Properly detect overflow in Instance +/- Duration.kennytm-7/+15
Avoid unchecked cast from `u64` to `i64`. Use `try_into()` for checked cast. (On Unix, cast to `time_t` instead of `i64`.)
2016-11-28Commit to fix make tidyJeremy Soller-1/+1
2016-11-28Switch to using syscall crate directly - without importJeremy Soller-14/+13
2016-10-28Remove unsafe libc layerJeremy Soller-219/+67
2016-10-27Add redox systemJeremy Soller-0/+351