We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8552f97 commit 771c937Copy full SHA for 771c937
src/time.rs
@@ -19,7 +19,7 @@ libc_enum! {
19
target_os = "illumos",
20
all(target_env = "newlib", target_arch = "arm"),
21
), repr(i32))]
22
- #[cfg_attr(target_os = "macos", repr(u32))]
+ #[cfg_attr(any(target_os = "macos", target_os = "ios"), repr(u32))]
23
#[cfg_attr(any(
24
target_os = "hermit",
25
all(target_env = "newlib", target_arch = "aarch64"),
@@ -138,6 +138,7 @@ pub fn clock_gettime(clk_id: ClockId) -> Result<TimeSpec> {
138
#[cfg(not(
139
any(
140
target_os = "macos",
141
+ target_os = "ios",
142
target_os = "redox",
143
144
)
0 commit comments