File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ license = "0BSD"
16
16
# ensure that the correct features are enabled.
17
17
autoexamples = false
18
18
19
+ [lints .rust ]
20
+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(fuzzing)' ] }
21
+
19
22
[dependencies ]
20
23
managed = { version = " 0.8" , default-features = false , features = [" map" ] }
21
24
byteorder = { version = " 1.0" , default-features = false }
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ pub const ETH_P_IEEE802154: libc::c_short = 0x00F6;
9
9
// https://github.com/golang/sys/blob/master/unix/zerrors_linux_<arch>.go
10
10
pub const TUNSETIFF : libc:: c_ulong = if cfg ! ( any(
11
11
target_arch = "mips" ,
12
+ all( target_arch = "mips" , target_endian = "little" ) ,
12
13
target_arch = "mips64" ,
13
- target_arch = "mips64el" ,
14
- target_arch = "mipsel" ,
14
+ all( target_arch = "mips64" , target_endian = "little" ) ,
15
15
target_arch = "powerpc" ,
16
16
target_arch = "powerpc64" ,
17
- target_arch = "powerpc64le" ,
17
+ all ( target_arch = "powerpc64" , target_endian = "little" ) ,
18
18
target_arch = "sparc64"
19
19
) ) {
20
20
0x800454CA
You can’t perform that action at this time.
0 commit comments