lib.systems: remove (accidental?) rust/rustc alias

I imagine this was supposed to be rustc = args.rustc, like the other
two lines.  This meant that we accepted both rust and rustc
attributes, with the same effect.  I doubt anybody was using the
undocumented, probably-accidental "rust" spelling, but we should
remove it before somebody starts.

In fact, we don't need to set rustc here at all, because no value
platforms.select could return will ever include a rustc key (unlike
the other two), so then rustc will be filled in later, when args is
merged into final.
This commit is contained in:
Alyssa Ross 2023-05-09 13:08:00 +00:00
parent e840c93ea7
commit 91488fb6db
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -121,7 +121,7 @@ rec {
({
linux-kernel = args.linux-kernel or {};
gcc = args.gcc or {};
rustc = args.rust or {};
rustc = args.rustc or {};
} // platforms.select final)
linux-kernel gcc rustc;