@@ -92,63 +92,63 @@ bitflags! {
9292 #[ derive( Copy , Clone , Eq , PartialEq , Hash , Debug ) ]
9393 pub struct Mode : RawMode {
9494 /// `S_IRWXU`
95- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
95+ #[ cfg( not( target_os = "espidf" ) ) ]
9696 const RWXU = c:: S_IRWXU as RawMode ;
9797
9898 /// `S_IRUSR`
99- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
99+ #[ cfg( not( target_os = "espidf" ) ) ]
100100 const RUSR = c:: S_IRUSR as RawMode ;
101101
102102 /// `S_IWUSR`
103- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
103+ #[ cfg( not( target_os = "espidf" ) ) ]
104104 const WUSR = c:: S_IWUSR as RawMode ;
105105
106106 /// `S_IXUSR`
107- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
107+ #[ cfg( not( target_os = "espidf" ) ) ]
108108 const XUSR = c:: S_IXUSR as RawMode ;
109109
110110 /// `S_IRWXG`
111- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
111+ #[ cfg( not( target_os = "espidf" ) ) ]
112112 const RWXG = c:: S_IRWXG as RawMode ;
113113
114114 /// `S_IRGRP`
115- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
115+ #[ cfg( not( target_os = "espidf" ) ) ]
116116 const RGRP = c:: S_IRGRP as RawMode ;
117117
118118 /// `S_IWGRP`
119- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
119+ #[ cfg( not( target_os = "espidf" ) ) ]
120120 const WGRP = c:: S_IWGRP as RawMode ;
121121
122122 /// `S_IXGRP`
123- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
123+ #[ cfg( not( target_os = "espidf" ) ) ]
124124 const XGRP = c:: S_IXGRP as RawMode ;
125125
126126 /// `S_IRWXO`
127- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
127+ #[ cfg( not( target_os = "espidf" ) ) ]
128128 const RWXO = c:: S_IRWXO as RawMode ;
129129
130130 /// `S_IROTH`
131- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
131+ #[ cfg( not( target_os = "espidf" ) ) ]
132132 const ROTH = c:: S_IROTH as RawMode ;
133133
134134 /// `S_IWOTH`
135- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
135+ #[ cfg( not( target_os = "espidf" ) ) ]
136136 const WOTH = c:: S_IWOTH as RawMode ;
137137
138138 /// `S_IXOTH`
139- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
139+ #[ cfg( not( target_os = "espidf" ) ) ]
140140 const XOTH = c:: S_IXOTH as RawMode ;
141141
142142 /// `S_ISUID`
143- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
143+ #[ cfg( not( target_os = "espidf" ) ) ]
144144 const SUID = c:: S_ISUID as RawMode ;
145145
146146 /// `S_ISGID`
147- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
147+ #[ cfg( not( target_os = "espidf" ) ) ]
148148 const SGID = c:: S_ISGID as RawMode ;
149149
150150 /// `S_ISVTX`
151- #[ cfg( not( any ( target_os = "espidf" , target_os = "wasi" ) ) ) ] // WASI doesn't have Unix-style mode flags.
151+ #[ cfg( not( target_os = "espidf" ) ) ]
152152 const SVTX = c:: S_ISVTX as RawMode ;
153153
154154 /// <https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags>
0 commit comments