rust/src/libstd/sys
bors f4b07e0713 Auto merge of #56490 - faern:add-checked-add-to-instant, r=alexcrichton
Add checked_add method to Instant time type

Appending functionality to the already opened topic of `checked_add` on time types over at #55940.

Doing checked addition between an `Instant` and a `Duration` is important to reliably determine a future instant. We could use this in the `parking_lot` crate to compute an instant when in the future to wake a thread up without risking a panic.
2018-12-14 09:10:35 +00:00
..
cloudabi Fix dur2intervals import on cloudabi 2018-12-13 18:49:54 +01:00
redox Add checked_sub for Instant and SystemTime 2018-12-13 15:25:14 +01:00
sgx Fix checked_add/sub for sys/sgx/time.rs 2018-12-13 15:25:14 +01:00
unix Add checked_sub for Instant and SystemTime 2018-12-13 15:25:14 +01:00
wasm Add checked_sub for Instant and SystemTime 2018-12-13 15:25:14 +01:00
windows Auto merge of #56490 - faern:add-checked-add-to-instant, r=alexcrichton 2018-12-14 09:10:35 +00:00
mod.rs Add x86_64-fortanix-unknown-sgx target to libstd and dependencies 2018-12-07 11:26:50 +05:30