libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
773 stars 135 forks source link

Unresolved import #905

Closed k2enny closed 2 months ago

k2enny commented 2 months ago

error[E0432]: unresolved import nix::fcntl --> C:\Users\Shadow.cargo\registry\src\index.crates.io-6f17d22bba15001f\libbpf-sys-1.4.3+v1.4.5\build.rs:11:5 | 11 | use nix::fcntl; | ^^^^^^^^^^ no fcntl in the root

when adding it to the Cargo.toml

d-e-s-o commented 2 months ago

If it says libbpf-sys then I'd recommend reporting it there. In general I doubt that Windows will be a supported target, ever.