We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31935e5 commit e9516b4Copy full SHA for e9516b4
rustup-init.sh
@@ -299,13 +299,20 @@ get_architecture() {
299
300
esac
301
302
- # Detect 64-bit linux with 32-bit userland
+ # Detect 64-bit linux with 32-bit userland for x86
303
if [ $_ostype = unknown-linux-gnu -a $_cputype = x86_64 ]; then
304
if [ "$(get_bitness)" = "32" ]; then
305
local _cputype=i686
306
fi
307
308
309
+ # Detect 64-bit linux with 32-bit userland for powerpc
310
+ if [ $_ostype = unknown-linux-gnu -a $_cputype = powerpc64 ]; then
311
+ if [ "$(get_bitness)" = "32" ]; then
312
+ local _cputype=powerpc
313
+ fi
314
315
+
316
# Detect armv7 but without the CPU features Rust needs in that build,
317
# and fall back to arm.
318
# See https://github.com/rust-lang/rustup.rs/issues/587.
0 commit comments