@@ -49,160 +49,160 @@ pub struct FsType(pub fs_type_t);
49
49
50
50
// These constants are defined without documentation in the Linux headers, so we
51
51
// can't very well document them here.
52
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
52
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
53
53
#[ allow( missing_docs) ]
54
54
pub const ADFS_SUPER_MAGIC : FsType = FsType ( libc:: ADFS_SUPER_MAGIC as fs_type_t ) ;
55
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
55
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
56
56
#[ allow( missing_docs) ]
57
57
pub const AFFS_SUPER_MAGIC : FsType = FsType ( libc:: AFFS_SUPER_MAGIC as fs_type_t ) ;
58
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
58
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
59
59
#[ allow( missing_docs) ]
60
60
pub const AFS_SUPER_MAGIC : FsType = FsType ( libc:: AFS_SUPER_MAGIC as fs_type_t ) ;
61
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
61
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
62
62
#[ allow( missing_docs) ]
63
63
pub const AUTOFS_SUPER_MAGIC : FsType = FsType ( libc:: AUTOFS_SUPER_MAGIC as fs_type_t ) ;
64
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
64
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
65
65
#[ allow( missing_docs) ]
66
66
pub const BPF_FS_MAGIC : FsType = FsType ( libc:: BPF_FS_MAGIC as fs_type_t ) ;
67
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
67
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
68
68
#[ allow( missing_docs) ]
69
69
pub const BTRFS_SUPER_MAGIC : FsType = FsType ( libc:: BTRFS_SUPER_MAGIC as fs_type_t ) ;
70
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
70
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
71
71
#[ allow( missing_docs) ]
72
72
pub const CGROUP2_SUPER_MAGIC : FsType = FsType ( libc:: CGROUP2_SUPER_MAGIC as fs_type_t ) ;
73
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
73
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
74
74
#[ allow( missing_docs) ]
75
75
pub const CGROUP_SUPER_MAGIC : FsType = FsType ( libc:: CGROUP_SUPER_MAGIC as fs_type_t ) ;
76
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
76
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
77
77
#[ allow( missing_docs) ]
78
78
pub const CODA_SUPER_MAGIC : FsType = FsType ( libc:: CODA_SUPER_MAGIC as fs_type_t ) ;
79
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
79
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
80
80
#[ allow( missing_docs) ]
81
81
pub const CRAMFS_MAGIC : FsType = FsType ( libc:: CRAMFS_MAGIC as fs_type_t ) ;
82
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
82
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
83
83
#[ allow( missing_docs) ]
84
84
pub const DEBUGFS_MAGIC : FsType = FsType ( libc:: DEBUGFS_MAGIC as fs_type_t ) ;
85
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
85
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
86
86
#[ allow( missing_docs) ]
87
87
pub const DEVPTS_SUPER_MAGIC : FsType = FsType ( libc:: DEVPTS_SUPER_MAGIC as fs_type_t ) ;
88
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
88
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
89
89
#[ allow( missing_docs) ]
90
90
pub const ECRYPTFS_SUPER_MAGIC : FsType = FsType ( libc:: ECRYPTFS_SUPER_MAGIC as fs_type_t ) ;
91
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
91
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
92
92
#[ allow( missing_docs) ]
93
93
pub const EFS_SUPER_MAGIC : FsType = FsType ( libc:: EFS_SUPER_MAGIC as fs_type_t ) ;
94
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
94
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
95
95
#[ allow( missing_docs) ]
96
96
pub const EXT2_SUPER_MAGIC : FsType = FsType ( libc:: EXT2_SUPER_MAGIC as fs_type_t ) ;
97
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
97
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
98
98
#[ allow( missing_docs) ]
99
99
pub const EXT3_SUPER_MAGIC : FsType = FsType ( libc:: EXT3_SUPER_MAGIC as fs_type_t ) ;
100
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
100
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
101
101
#[ allow( missing_docs) ]
102
102
pub const EXT4_SUPER_MAGIC : FsType = FsType ( libc:: EXT4_SUPER_MAGIC as fs_type_t ) ;
103
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
103
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
104
104
#[ allow( missing_docs) ]
105
105
pub const F2FS_SUPER_MAGIC : FsType = FsType ( libc:: F2FS_SUPER_MAGIC as fs_type_t ) ;
106
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
106
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
107
107
#[ allow( missing_docs) ]
108
108
pub const FUSE_SUPER_MAGIC : FsType = FsType ( libc:: FUSE_SUPER_MAGIC as fs_type_t ) ;
109
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
109
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
110
110
#[ allow( missing_docs) ]
111
111
pub const FUTEXFS_SUPER_MAGIC : FsType = FsType ( libc:: FUTEXFS_SUPER_MAGIC as fs_type_t ) ;
112
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
112
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
113
113
#[ allow( missing_docs) ]
114
114
pub const HOSTFS_SUPER_MAGIC : FsType = FsType ( libc:: HOSTFS_SUPER_MAGIC as fs_type_t ) ;
115
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
115
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
116
116
#[ allow( missing_docs) ]
117
117
pub const HPFS_SUPER_MAGIC : FsType = FsType ( libc:: HPFS_SUPER_MAGIC as fs_type_t ) ;
118
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
118
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
119
119
#[ allow( missing_docs) ]
120
120
pub const HUGETLBFS_MAGIC : FsType = FsType ( libc:: HUGETLBFS_MAGIC as fs_type_t ) ;
121
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
121
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
122
122
#[ allow( missing_docs) ]
123
123
pub const ISOFS_SUPER_MAGIC : FsType = FsType ( libc:: ISOFS_SUPER_MAGIC as fs_type_t ) ;
124
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
124
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
125
125
#[ allow( missing_docs) ]
126
126
pub const JFFS2_SUPER_MAGIC : FsType = FsType ( libc:: JFFS2_SUPER_MAGIC as fs_type_t ) ;
127
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
127
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
128
128
#[ allow( missing_docs) ]
129
129
pub const MINIX2_SUPER_MAGIC2 : FsType = FsType ( libc:: MINIX2_SUPER_MAGIC2 as fs_type_t ) ;
130
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
130
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
131
131
#[ allow( missing_docs) ]
132
132
pub const MINIX2_SUPER_MAGIC : FsType = FsType ( libc:: MINIX2_SUPER_MAGIC as fs_type_t ) ;
133
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
133
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
134
134
#[ allow( missing_docs) ]
135
135
pub const MINIX3_SUPER_MAGIC : FsType = FsType ( libc:: MINIX3_SUPER_MAGIC as fs_type_t ) ;
136
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
136
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
137
137
#[ allow( missing_docs) ]
138
138
pub const MINIX_SUPER_MAGIC2 : FsType = FsType ( libc:: MINIX_SUPER_MAGIC2 as fs_type_t ) ;
139
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
139
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
140
140
#[ allow( missing_docs) ]
141
141
pub const MINIX_SUPER_MAGIC : FsType = FsType ( libc:: MINIX_SUPER_MAGIC as fs_type_t ) ;
142
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
142
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
143
143
#[ allow( missing_docs) ]
144
144
pub const MSDOS_SUPER_MAGIC : FsType = FsType ( libc:: MSDOS_SUPER_MAGIC as fs_type_t ) ;
145
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
145
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
146
146
#[ allow( missing_docs) ]
147
147
pub const NCP_SUPER_MAGIC : FsType = FsType ( libc:: NCP_SUPER_MAGIC as fs_type_t ) ;
148
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
148
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
149
149
#[ allow( missing_docs) ]
150
150
pub const NFS_SUPER_MAGIC : FsType = FsType ( libc:: NFS_SUPER_MAGIC as fs_type_t ) ;
151
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
151
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
152
152
#[ allow( missing_docs) ]
153
153
pub const NILFS_SUPER_MAGIC : FsType = FsType ( libc:: NILFS_SUPER_MAGIC as fs_type_t ) ;
154
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
154
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
155
155
#[ allow( missing_docs) ]
156
156
pub const OCFS2_SUPER_MAGIC : FsType = FsType ( libc:: OCFS2_SUPER_MAGIC as fs_type_t ) ;
157
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
157
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
158
158
#[ allow( missing_docs) ]
159
159
pub const OPENPROM_SUPER_MAGIC : FsType = FsType ( libc:: OPENPROM_SUPER_MAGIC as fs_type_t ) ;
160
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
160
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
161
161
#[ allow( missing_docs) ]
162
162
pub const OVERLAYFS_SUPER_MAGIC : FsType = FsType ( libc:: OVERLAYFS_SUPER_MAGIC as fs_type_t ) ;
163
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
163
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
164
164
#[ allow( missing_docs) ]
165
165
pub const PROC_SUPER_MAGIC : FsType = FsType ( libc:: PROC_SUPER_MAGIC as fs_type_t ) ;
166
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
166
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
167
167
#[ allow( missing_docs) ]
168
168
pub const QNX4_SUPER_MAGIC : FsType = FsType ( libc:: QNX4_SUPER_MAGIC as fs_type_t ) ;
169
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
169
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
170
170
#[ allow( missing_docs) ]
171
171
pub const QNX6_SUPER_MAGIC : FsType = FsType ( libc:: QNX6_SUPER_MAGIC as fs_type_t ) ;
172
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
172
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
173
173
#[ allow( missing_docs) ]
174
174
pub const RDTGROUP_SUPER_MAGIC : FsType = FsType ( libc:: RDTGROUP_SUPER_MAGIC as fs_type_t ) ;
175
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
175
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
176
176
#[ allow( missing_docs) ]
177
177
pub const REISERFS_SUPER_MAGIC : FsType = FsType ( libc:: REISERFS_SUPER_MAGIC as fs_type_t ) ;
178
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
178
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
179
179
#[ allow( missing_docs) ]
180
180
pub const SECURITYFS_MAGIC : FsType = FsType ( libc:: SECURITYFS_MAGIC as fs_type_t ) ;
181
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
181
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
182
182
#[ allow( missing_docs) ]
183
183
pub const SELINUX_MAGIC : FsType = FsType ( libc:: SELINUX_MAGIC as fs_type_t ) ;
184
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
184
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
185
185
#[ allow( missing_docs) ]
186
186
pub const SMACK_MAGIC : FsType = FsType ( libc:: SMACK_MAGIC as fs_type_t ) ;
187
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
187
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
188
188
#[ allow( missing_docs) ]
189
189
pub const SMB_SUPER_MAGIC : FsType = FsType ( libc:: SMB_SUPER_MAGIC as fs_type_t ) ;
190
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
190
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
191
191
#[ allow( missing_docs) ]
192
192
pub const SYSFS_MAGIC : FsType = FsType ( libc:: SYSFS_MAGIC as fs_type_t ) ;
193
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
193
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
194
194
#[ allow( missing_docs) ]
195
195
pub const TMPFS_MAGIC : FsType = FsType ( libc:: TMPFS_MAGIC as fs_type_t ) ;
196
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
196
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
197
197
#[ allow( missing_docs) ]
198
198
pub const TRACEFS_MAGIC : FsType = FsType ( libc:: TRACEFS_MAGIC as fs_type_t ) ;
199
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
199
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
200
200
#[ allow( missing_docs) ]
201
201
pub const UDF_SUPER_MAGIC : FsType = FsType ( libc:: UDF_SUPER_MAGIC as fs_type_t ) ;
202
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
202
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
203
203
#[ allow( missing_docs) ]
204
204
pub const USBDEVICE_SUPER_MAGIC : FsType = FsType ( libc:: USBDEVICE_SUPER_MAGIC as fs_type_t ) ;
205
- #[ cfg( any( all ( target_os = "linux" , not ( target_env = "musl" ) ) , target_os = "android" ) ) ]
205
+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
206
206
#[ allow( missing_docs) ]
207
207
pub const XENFS_SUPER_MAGIC : FsType = FsType ( libc:: XENFS_SUPER_MAGIC as fs_type_t ) ;
208
208
0 commit comments