rustc: allowing building for ARMv5

toRustTarget needed to handle the armv5tel case
This commit is contained in:
Ben Wolsieffer 2021-05-15 11:43:51 -04:00
parent d1601a40c4
commit 9d6134ae6d
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
"armv7a" = "armv7";
"armv7l" = "armv7";
"armv6l" = "arm";
"armv5tel" = "armv5te";
}.${cpu.name} or cpu.name;
in platform.rustc.config
or "${cpu_}-${vendor.name}-${kernel.name}${lib.optionalString (abi.name != "unknown") "-${abi.name}"}";