diff --git a/rustup-init.sh b/rustup-init.sh index a7701c5336..6e0ef4b03d 100755 --- a/rustup-init.sh +++ b/rustup-init.sh @@ -517,8 +517,8 @@ get_architecture() { # and fall back to arm. # See https://github.com/rust-lang/rustup.rs/issues/587. if [ "$_ostype" = "unknown-linux-gnueabihf" ] && [ "$_cputype" = armv7 ]; then - if ensure grep '^Features' /proc/cpuinfo | grep -q -v neon; then - # At least one processor does not have NEON. + if ensure grep '^Features' /proc/cpuinfo | grep -E -q -v 'neon|simd'; then + # At least one processor does not have NEON (which is asimd on armv8+). _cputype=arm fi fi