- rust: 1.95.0-nightly (85eff7c80 2026-01-15)
- RustPython: 2025-11-10-main-55
- OS: Debian GNU/Linux 12
cargo build -rError goes as
error[E0425]: cannot find value `CLOCK_PROCESS_CPUTIME_ID` in crate `libc`
--> /root/.cargo/git/checkouts/rustpython-63090cdce5e18442/9792001/vm/src/stdlib/time.rs:432:42
|
432 | if libc::clock_gettime(libc::CLOCK_PROCESS_CPUTIME_ID, time.as_mut_ptr()) == -1 {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
For more information about this error, try `rustc --explain E0425`.
error: could not compile `rustpython-vm` (lib) due to 1 previous error