1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/// Whether the operating system has a thread-safe environment. This allows bypassing the check for
/// if the process is multi-threaded.
// This is the same value as `cfg!(target_os = "x")`.
// Use byte-strings to work around current limitations of const eval.
const OS_HAS_THREAD_SAFE_ENVIRONMENT: bool = match OS.as_bytes ;
/// Update time zone information from the system.
///
/// For safety documentation, see [`time::util::refresh_tz`].
pub unsafe
/// Attempt to update time zone information from the system. Returns `None` if the call is not known
/// to be sound.
pub