Skip to content
New issue

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

fix IOCTL_FICLONE wrong type on musl #12

Closed
wants to merge 1 commit into from
Closed

fix IOCTL_FICLONE wrong type on musl #12

wants to merge 1 commit into from

Conversation

JacobLinCool
Copy link

This PR fixes #11

@bczhc
Copy link

bczhc commented Jun 10, 2023

The current master branch your PR based on already should work, because this has a fix (#5); it uses a macro to solve the type incompatibility issue. There's no need to add a redundant try_into on a literal number macro IOCTL_FICLONE!().

@JacobLinCool
Copy link
Author

Yes, #5 fixed the problem, but it seems it hasn't been released in the next version.

I apologize for the duplication. Closing now.

For others that found reflink (0.1.3) doesn't work, try to overwrite the the dependency source as the following in Cargo.toml:

[patch.crates-io]
reflink = { git = "https://github.com/nicokoch/reflink.git" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible with musl
2 participants