-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
cargo install cpx:
Compiling cpx v0.1.2
error[E0432]: unresolved import `nix::fcntl::copy_file_range`
--> /Users/chris/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cpx-0.1.2/src/core/fast_copy.rs:4:5
|
4 | use nix::fcntl::copy_file_range;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `copy_file_range` in `fcntl`
|
note: found an item that was configured out
--> /Users/chris/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.30.1/src/fcntl.rs:1215:8
|
1214 | #[cfg(any(linux_android, target_os = "freebsd"))]
| -------------------------------------- the item is gated here
1215 | pub fn copy_file_range<Fd1: std::os::fd::AsFd, Fd2: std::os::fd::AsFd>(
| ^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0432`.
error: could not compile `cpx` (lib) due to 1 previous error
error: failed to compile `cpx v0.1.2`, intermediate artifacts can be found at `/var/folders/8r/35xdcb5j3p797dckssz62d_80000gn/T/cargo-installfCtkf1`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Reactions are currently unavailable