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"
1616# ensure that the correct features are enabled.
1717autoexamples = false
1818
19+ [lints .rust ]
20+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(fuzzing)' ] }
21+
1922[dependencies ]
2023managed = { version = " 0.8" , default-features = false , features = [" map" ] }
2124byteorder = { 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;
99// https://github.com/golang/sys/blob/master/unix/zerrors_linux_<arch>.go
1010pub const TUNSETIFF : libc:: c_ulong = if cfg ! ( any(
1111 target_arch = "mips" ,
12+ all( target_arch = "mips" , target_endian = "little" ) ,
1213 target_arch = "mips64" ,
13- target_arch = "mips64el" ,
14- target_arch = "mipsel" ,
14+ all( target_arch = "mips64" , target_endian = "little" ) ,
1515 target_arch = "powerpc" ,
1616 target_arch = "powerpc64" ,
17- target_arch = "powerpc64le" ,
17+ all ( target_arch = "powerpc64" , target_endian = "little" ) ,
1818 target_arch = "sparc64"
1919) ) {
2020 0x800454CA
You can’t perform that action at this time.
0 commit comments