rust/library/std/src/sys/hermit
Dylan DPC 3502e48321
Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc
Fix `checked_{add,sub}_duration` incorrectly returning `None` when `other` has more than `i64::MAX` seconds

Use `checked_{add,sub}_unsigned` in `checked_{add,sub}_duration` so that the correct result is returned when adding/subtracting durations with more than `i64::MAX` seconds.
2023-05-05 18:40:32 +05:30
..
alloc.rs Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rs 2020-10-08 22:13:19 +09:00
args.rs move IO traits to std/src/os/hermit 2023-02-24 15:30:14 +01:00
env.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fd.rs Inline AsInner implementations 2023-05-01 13:25:09 +02:00
fs.rs Inline AsRawFd implementations 2023-05-01 13:28:19 +02:00
futex.rs use as_ptr to determine the address of atomics 2023-02-27 09:59:57 +01:00
memchr.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
mod.rs Rollup merge of #107387 - joboet:hermit_random, r=ChrisDenton 2023-03-29 21:19:47 +02:00
net.rs Inline AsRawFd implementations 2023-05-01 13:28:19 +02:00
os.rs move IO traits to std/src/os/hermit 2023-02-24 15:30:14 +01:00
stdio.rs Hide Repr details from io::Error, and rework io::Error::new_const. 2022-02-04 18:47:29 -08:00
thread.rs refactor[std]: do not use box syntax 2023-01-17 14:08:35 +01:00
thread_local_dtor.rs refactor[std]: do not use box syntax 2023-01-17 14:08:35 +01:00
time.rs Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30