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
{{ message }}
Repository navigation
missing libc::SYS_futex for riscv32gc-unknown-linux-gnu target #5627
error[: cannot find value `SYS_futex` in crate `libc`
╭▸ /cargo/registry/25cdd57fae9f0462/parking_lot_core-0.9.12/src/thread_parker/linux.rs:113:23
│
113 │ libc::SYS_futex,
│ ━━━━━━━━━ not found in `libc`
╰╴
note: similarly named constant `SYS_fstat` defined here
╭▸ /cargo/registry/25cdd57fae9f0462/libc-0.2.190/src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs:446:1
│
446 │ pub const SYS_fstat: c_long = 80;
╰╴━━━━━━━━━━━━━━━━━━━━━━━━━━━
help: a constant with a similar name exists
╭╴
113 - libc::SYS_futex,
113 + libc::SYS_fstat,
╰╴
error[: cannot find value `SYS_futex` in crate `libc`
╭▸ /cargo/registry/25cdd57fae9f0462/parking_lot_core-0.9.12/src/thread_parker/linux.rs:141:19
│
141 │ libc::SYS_futex,
│ ━━━━━━━━━ not found in `libc`
╰╴
note: similarly named constant `SYS_fstat` defined here
╭▸ /cargo/registry/25cdd57fae9f0462/libc-0.2.190/src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs:446:1
│
446 │ pub const SYS_fstat: c_long = 80;
╰╴━━━━━━━━━━━━━━━━━━━━━━━━━━━
help: a constant with a similar name exists
╭╴
141 - libc::SYS_futex,
141 + libc::SYS_fstat,
╰╴
For more information about this error, try `rustc --explain E0425`.
Activity
tgross35 commentedon Oct 13, 2026
PRs welcome!
linux: add SYS_futex for riscv32 GNU
tgross35 commentedon Oct 15, 2026
Do these actually exist on Linux? #5631 (comment)
tgross35 commentedon Oct 16, 2026
Looks like they don't #5631 (comment), while musl does (internally at least)