We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unfriend% cargo build --target=x86_64-unknown-linux-musl Compiling reflink v0.1.3 error[E0308]: mismatched types --> /home/faux/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/reflink-0.1.3/src/sys/unix.rs:21:39 | 21 | libc::ioctl(dest.as_raw_fd(), IOCTL_FICLONE, src.as_raw_fd()) | ^^^^^^^^^^^^^ expected i32, found u64
I happen to be on rustc 1.36.0-nightly (dec4c5201 2019-05-24), Ubuntu x64 host.
rustc 1.36.0-nightly (dec4c5201 2019-05-24)
The text was updated successfully, but these errors were encountered:
use a local helper macro to evade integer type confusion
2a7528e
This is relevant on musl, where ioctl() accepts an i32, not a u64, apparently. Fixes nicokoch#4.
cow-dedup: change reflink crate to a git revision
reflink
e9df2ba
See: - nicokoch/reflink#4 - nicokoch/reflink#8
Successfully merging a pull request may close this issue.
I happen to be on
rustc 1.36.0-nightly (dec4c5201 2019-05-24)
, Ubuntu x64 host.The text was updated successfully, but these errors were encountered: