rust/library/std
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
..
benches
src time: use clock_gettime on macos 2023-09-28 17:21:56 -04:00
tests Add data race test to std::env::{get, set} 2023-08-20 21:50:45 +02:00
build.rs Rebase to master 2023-09-22 17:23:33 +05:30
Cargo.toml Fixes from PR 2023-09-22 17:23:33 +05:30