summary refs log tree commit diff
path: root/pkgs/development/compilers/rust
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-01-16 14:17:40 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-01-16 14:17:40 +0200
commit222f905fd9042f80d4cdef65bb7d2801fdb63429 (patch)
tree5ae0a16e5b044af531df33c04c38f2340296d63e /pkgs/development/compilers/rust
parent1624e32eb08653df82996a78cb4929c4d2ca7f6a (diff)
downloadnixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar.gz
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar.bz2
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar.lz
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar.xz
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.tar.zst
nixlib-222f905fd9042f80d4cdef65bb7d2801fdb63429.zip
rustc: Supports ARMv7
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r--pkgs/development/compilers/rust/bootstrap.nix3
-rwxr-xr-xpkgs/development/compilers/rust/print-hashes.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/bootstrap.nix b/pkgs/development/compilers/rust/bootstrap.nix
index 7814bc94828f..034334f58500 100644
--- a/pkgs/development/compilers/rust/bootstrap.nix
+++ b/pkgs/development/compilers/rust/bootstrap.nix
@@ -9,6 +9,7 @@ let
   hashes = {
     i686-unknown-linux-gnu = "b7caed0f602cdb8ef22e0bfa9125a65bec411e15c0b8901d937e43303ec7dbee";
     x86_64-unknown-linux-gnu = "b41e70e018402bc04d02fde82f91bea24428e6be432f0df12ac400cfb03108e8";
+    armv7-unknown-linux-gnueabihf = "416fa6f107ad9e386002e6af1aec495472e2ee489c842183dd429a25b07488d6";
     aarch64-unknown-linux-gnu = "491ee6c43cc672006968d665bd34c94cc2219ef3592d93d38097c97eaaa864c3";
     i686-apple-darwin = "c8b0fabeebcde66b683f3a871187e614e07305adda414c2862cb332aecb2b3bf";
     x86_64-apple-darwin = "75a7f4bd7c72948030bb9e421df27e8a650dea826fb5b836cf59d23d6f985a0d";
@@ -19,6 +20,8 @@ let
     then "i686-unknown-linux-gnu"
     else if stdenv.system == "x86_64-linux"
     then "x86_64-unknown-linux-gnu"
+    else if stdenv.system == "armv7l-linux"
+    then "armv7-unknown-linux-gnueabihf"
     else if stdenv.system == "aarch64-linux"
     then "aarch64-unknown-linux-gnu"
     else if stdenv.system == "i686-darwin"
diff --git a/pkgs/development/compilers/rust/print-hashes.sh b/pkgs/development/compilers/rust/print-hashes.sh
index dc7e3719355c..7eb00a30ad73 100755
--- a/pkgs/development/compilers/rust/print-hashes.sh
+++ b/pkgs/development/compilers/rust/print-hashes.sh
@@ -10,6 +10,7 @@ set -euo pipefail
 PLATFORMS=(
   i686-unknown-linux-gnu
   x86_64-unknown-linux-gnu
+  armv7-unknown-linux-gnueabihf
   aarch64-unknown-linux-gnu
   i686-apple-darwin
   x86_64-apple-darwin