diff options
author | Alyssa Ross | 2024-09-02 12:53:54 +0200 |
---|---|---|
committer | Alyssa Ross | 2024-09-02 15:15:37 +0200 |
commit | 4b6c89a6702e4feb361491ed932f4d42b12a6d71 (patch) | |
tree | ab0e420f05ac33a9aaba30c6232d6bb1d3aa15d9 /lib | |
parent | 12cad819db9d2320018be4a78c3e694cfe940d0b (diff) |
lib.systems: add rustTarget for riscv32
Fixes buildPackages.rustc when cross compiling to riscv32.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix index cee09791bf54..955bfa73e8bf 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -376,6 +376,7 @@ let "armv7l" = "armv7"; "armv6l" = "arm"; "armv5tel" = "armv5te"; + "riscv32" = "riscv32gc"; "riscv64" = "riscv64gc"; }.${cpu.name} or cpu.name; vendor_ = final.rust.platform.vendor; |