Skip to content

Commit

Permalink
Fix breakage caused by CLOCK_BOOTTIME being removed from DragonFly.
Browse files Browse the repository at this point in the history
rust-lang/libc#3509 removed `CLOCK_BOOTIME` from DragonFly, which broke
rustix.
  • Loading branch information
sunfishcode committed Jan 11, 2024
1 parent 0030907 commit 01561ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/libc/time/syscalls.rs
Expand Up @@ -167,7 +167,7 @@ pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timesp
DynamicClockId::Tai => c::CLOCK_TAI,

#[cfg(any(
freebsdlike,
target_os = "freebsd",
linux_kernel,
target_os = "fuchsia",
target_os = "openbsd"
Expand Down

0 comments on commit 01561ef

Please sign in to comment.