smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.81k stars 432 forks source link

Fix target-arch names and remove unknonwn fuzzing cfg warning #969

Closed thvdveld closed 3 months ago

thvdveld commented 3 months ago

The endianness of the target architecture cannot be specified using target_arch. The endianness can be specified using target_endian.

The target description for mipsel-unknown-linux-gnu is found here: https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/targets/mipsel_unknown_linux_gnu.rs In this specification, the arch is set to "mips" and not "mipsel".

@blechschmidt: since you added this cfg for these architectures, could you check if smoltcp still compiles for you?