We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
armv7
/proc/cpuinfo
1 parent 5d72c7e commit 85b760eCopy full SHA for 85b760e
rustup-init.sh
@@ -539,8 +539,9 @@ get_architecture() {
539
# and fall back to arm.
540
# See https://github.com/rust-lang/rustup.rs/issues/587.
541
if [ "$_ostype" = "unknown-linux-gnueabihf" ] && [ "$_cputype" = armv7 ]; then
542
- if ensure grep '^Features' /proc/cpuinfo | grep -E -q -v 'neon|simd'; then
543
- # At least one processor does not have NEON (which is asimd on armv8+).
+ if ! (ensure grep '^Features' /proc/cpuinfo | grep -E -q 'neon|simd') ; then
+ # Either `/proc/cpuinfo` is malformed or unavailable, or
544
+ # at least one processor does not have NEON (which is asimd on armv8+).
545
_cputype=arm
546
fi
547
0 commit comments