Skip to content

Commit 563bef4

Browse files
authored
Merge pull request #647 from brson/powerpc
Update rustup-init.sh for powerpc
2 parents 1a5a407 + 9f40eab commit 563bef4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rustup-init.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,18 @@ get_architecture() {
157157
local _cputype=x86_64
158158
;;
159159

160+
ppc)
161+
local _cputype=powerpc
162+
;;
163+
164+
ppc64)
165+
local _cputype=powerpc64
166+
;;
167+
168+
ppc64le)
169+
local _cputype=powerpc64le
170+
;;
171+
160172
*)
161173
err "unknown CPU type: $_cputype"
162174

0 commit comments

Comments
 (0)