Skip to content

macOS Support? #30

Description

@koudelka

Hi friends, it seems that recent versions of clock-bound no longer compile on macOS. :(

❯ cargo run --features="daemon"            
   Compiling clock-bound v3.0.0-alpha.0 (/Users/mikes/repos/clock-bound/clock-bound)
error[E0432]: unresolved import `libc::ADJ_SETOFFSET`
 --> clock-bound/src/daemon/time/timex.rs:6:5
  |
6 |     ADJ_SETOFFSET, MOD_FREQUENCY, MOD_NANO, MOD_OFFSET, MOD_STATUS, MOD_TIMECONST, STA_FREQHOLD,
  |     ^^^^^^^^^^^^^ no `ADJ_SETOFFSET` in the root

I'm not a rust developer, but I poked around a bit, and as far as I can tell, that constant isn't present on a mac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions