rust/library/std/src/sys
Tamir Duberstein b21eb4f046
time: use clock_gettime on macos
Replace `gettimeofday` with `clock_gettime(CLOCK_REALTIME)` on:

```
all(target_os = "macos", not(target_arch = "aarch64")),
    target_os = "ios",
    target_os = "watchos",
    target_os = "tvos"
))]
```

`gettimeofday` was first used in
cc367edd95
which predated the introduction of `clock_gettime` support in macOS
10.12 Sierra which became the minimum supported version in
58bbca958d.
2023-09-28 17:21:56 -04:00
..
common Add Minimal Std implementation for UEFI 2023-09-22 17:23:30 +05:30
hermit Rollup merge of #115489 - saethlin:is-interrupted, r=thomcc 2023-09-03 21:38:43 +02:00
itron Add a new helper to avoid calling io::Error::kind 2023-08-25 21:26:06 -04:00
personality add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
sgx Add a new helper to avoid calling io::Error::kind 2023-08-25 21:26:06 -04:00
solid kmc-solid: Refactor is_interrupted to avoid integer overflow 2023-09-01 11:55:48 +09:00
uefi Rebase to master 2023-09-22 17:23:33 +05:30
unix time: use clock_gettime on macos 2023-09-28 17:21:56 -04:00
unsupported Auto merge of #114590 - ijackson:stdio-stdio-2, r=dtolnay 2023-09-09 19:56:51 +00:00
wasi Add a new helper to avoid calling io::Error::kind 2023-08-25 21:26:06 -04:00
wasm std: replace generic thread parker with explicit no-op parker 2023-02-16 15:06:45 +01:00
windows Auto merge of #114882 - ChrisDenton:riddle-me, r=dtolnay 2023-09-28 13:35:36 +00:00
xous std: xous: add support for locks 2023-08-22 20:25:38 +08:00
mod.rs Use RawOsError for UEFI 2023-09-22 17:23:33 +05:30