about summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-09 13:08:00 +0000
committerAlyssa Ross <hi@alyssa.is>2023-05-09 17:49:05 +0000
commit91488fb6db834e134e999612b9025ef8901559c8 (patch)
tree9af766b1e40a0ee4918a8805020db19047e706ea /lib/systems
parente840c93ea7623f31400bc8fbe1d4cc767becf34d (diff)
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.
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 0494d365d6ba8..f4784c61c6752 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -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;