sys: rustfmt workaround

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-08-05 12:46:21 +02:00
parent 63b17d4eb5
commit 1f11c4adf9

View File

@ -2,6 +2,8 @@
// from /usr/include/linux/magic.h // from /usr/include/linux/magic.h
// and from casync util.h // and from casync util.h
#[rustfmt::skip]
mod consts {
pub const BINFMTFS_MAGIC : i64 = 0x42494e4d; pub const BINFMTFS_MAGIC : i64 = 0x42494e4d;
pub const CGROUP2_SUPER_MAGIC : i64 = 0x63677270; pub const CGROUP2_SUPER_MAGIC : i64 = 0x63677270;
pub const CGROUP_SUPER_MAGIC : i64 = 0x0027e0eb; pub const CGROUP_SUPER_MAGIC : i64 = 0x0027e0eb;
@ -28,3 +30,6 @@ pub const FUSE_SUPER_MAGIC: i64 = 0x65735546;
pub const EXT4_SUPER_MAGIC : i64 = 0x0000EF53; pub const EXT4_SUPER_MAGIC : i64 = 0x0000EF53;
pub const XFS_SUPER_MAGIC : i64 = 0x58465342; pub const XFS_SUPER_MAGIC : i64 = 0x58465342;
pub const ZFS_SUPER_MAGIC : i64 = 0x2FC12FC1; pub const ZFS_SUPER_MAGIC : i64 = 0x2FC12FC1;
}
pub use consts::*;