Skip to content

sammyne/rust-python-broken-build-on-wasip2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Broken build of RustPython on wasip2

Environment

  • rust: 1.95.0-nightly (85eff7c80 2026-01-15)
  • RustPython: 2025-11-10-main-55
  • OS: Debian GNU/Linux 12

Reproduction

cargo build -r

Error 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages