summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/xattr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/xattr.rs')
-rw-r--r--vendor/rustix/src/fs/xattr.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/rustix/src/fs/xattr.rs b/vendor/rustix/src/fs/xattr.rs
index e50841b49..01fe7d569 100644
--- a/vendor/rustix/src/fs/xattr.rs
+++ b/vendor/rustix/src/fs/xattr.rs
@@ -6,6 +6,8 @@ use bitflags::bitflags;
bitflags! {
/// `XATTR_*` constants for use with [`setxattr`], and other `*setxattr`
/// functions.
+ #[repr(transparent)]
+ #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub struct XattrFlags: c::c_uint {
/// `XATTR_CREATE`
const CREATE = c::XATTR_CREATE as c::c_uint;