We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2deda90 commit 1b8c6aaCopy full SHA for 1b8c6aa
src/sys/unix/mod.rs
@@ -1,7 +1,8 @@
1
use cfg_if::cfg_if;
2
3
cfg_if! {
4
- if #[cfg(any(target_os = "linux", target_os = "android"))] {
+ // ioctl_ficlone / FICLONERANGE are not available on SPARC platforms
5
+ if #[cfg(all(any(target_os = "linux", target_os = "android"), not(any(target_arch = "sparc", target_arch = "sparc64"))))] {
6
mod linux;
7
pub use linux::reflink;
8
pub(crate) use linux::reflink_block;
0 commit comments