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 9042478 commit 92774eeCopy full SHA for 92774ee
src/unix/mod.rs
@@ -92,6 +92,14 @@ pub const SIG_DFL: sighandler_t = 0 as sighandler_t;
92
pub const SIG_IGN: sighandler_t = 1 as sighandler_t;
93
pub const SIG_ERR: sighandler_t = !0 as sighandler_t;
94
95
+pub const DT_BLK: ::c_int = 0;
96
+pub const DT_CHR: ::c_int = 0;
97
+pub const DT_FIFO: ::c_int = 0;
98
+pub const DT_LNK: ::c_int = 0;
99
+pub const DT_REG: ::c_int = 0;
100
+pub const DT_SOCK: ::c_int = 0;
101
+pub const DT_DIR: ::c_int = 0;
102
+
103
cfg_if! {
104
if #[cfg(feature = "default")] {
105
// cargo build, don't pull in anything extra as the libstd dep
0 commit comments