summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/fs/constants.rs')
-rw-r--r--vendor/rustix/src/fs/constants.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/rustix/src/fs/constants.rs b/vendor/rustix/src/fs/constants.rs
index ef677aa49..85889d90e 100644
--- a/vendor/rustix/src/fs/constants.rs
+++ b/vendor/rustix/src/fs/constants.rs
@@ -3,9 +3,11 @@
use crate::backend;
pub use crate::io::FdFlags;
-pub use backend::fs::types::{Access, Dev, Mode, OFlags};
+#[cfg(not(target_os = "espidf"))]
+pub use backend::fs::types::Access;
+pub use backend::fs::types::{Dev, Mode, OFlags};
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "espidf", target_os = "redox")))]
pub use backend::fs::types::AtFlags;
#[cfg(apple)]