rust-embedded / meta-rust-bin

Yocto layer for installing Rust toolchain from pre-built binaries
106 stars 66 forks source link

Ignore string case when checking ARCH, OS, and TUNE variables #172

Closed nastevens closed 7 months ago

nastevens commented 7 months ago

When checking that we're targeting a valid architecture and OS there is an unintentional case-sensitive test. So the OS 'Linux' is not accepted, it'd have to be 'linux'.

I fixed this up by making the OS, arch, and tune parameter checks case-insensitive.

See https://github.com/rust-embedded/meta-rust-bin/issues/171