You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0432]: unresolved imports `rustix::time::Itimerspec`, `rustix::time::TimerfdClockId`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/lib.rs:51:20
|
51 | use rustix::time::{Itimerspec, TimerfdClockId};
| ^^^^^^^^^^ ^^^^^^^^^^^^^^ no `TimerfdClockId` in `time`
| |
| no `Itimerspec` in `time`
| help: a similar name exists in the module: `Timespec`
error[E0432]: unresolved imports `rustix::time::TimerfdFlags`, `rustix::time::TimerfdTimerFlags`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/lib.rs:128:20
|
128 | use rustix::time::{TimerfdFlags, TimerfdTimerFlags};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `TimerfdTimerFlags` in `time`
| |
| no `TimerfdFlags` in `time`
error[E0432]: unresolved import `rustix::time::Itimerspec`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/structs.rs:3:20
|
3 | use rustix::time::{Itimerspec, Timespec};
| ^^^^^^^^^^
| |
| no `Itimerspec` in `time`
| help: a similar name exists in the module: `Timespec`
|
= help: consider importing this unresolved item through its public re-export instead:
Itimerspec
error[E0425]: cannot find function `timerfd_create` in module `rustix::time`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/lib.rs:187:32
|
187 | let fd = rustix::time::timerfd_create(clock, flags)?;
| ^^^^^^^^^^^^^^ not found in `rustix::time`
error[E0425]: cannot find function `timerfd_settime` in module `rustix::time`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/lib.rs:208:33
|
208 | let old = rustix::time::timerfd_settime(&self.0, flags, &new)
| ^^^^^^^^^^^^^^^ not found in `rustix::time`
error[E0425]: cannot find function `timerfd_gettime` in module `rustix::time`
--> /usr/ports/emulators/firecracker/work/firecracker-1.6.0/cargo-crates/timerfd-1.5.0/src/lib.rs:215:35
|
215 | let state = rustix::time::timerfd_gettime(&self.0)
| ^^^^^^^^^^^^^^^ not found in `rustix::time`
rustix-0.37.27
rustix-0.38.28
rust-1.74.1
FreeBSD 14.0 STABLE
The text was updated successfully, but these errors were encountered:
It appears FreeBSD implemented Linux's timerfd feature. And it appears Rust libc crate has some of the bindings, and I've now submitted rust-lang/libc#3506 to add the rest. I've also started bytecodealliance/rustix#978 to add the rustix support.
rustix-0.37.27
rustix-0.38.28
rust-1.74.1
FreeBSD 14.0 STABLE
The text was updated successfully, but these errors were encountered: