Skip to content

Commit ed5d1f1

Browse files
committed
Merge pull request #310 from brson/aarch64
Fixes for rustup-setup.sh
2 parents 221bf75 + 9fdf79a commit ed5d1f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rustup-setup.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,16 @@ get_architecture() {
126126
local _ostype="${_ostype}eabihf"
127127
;;
128128

129+
aarch64)
130+
local _cputype=aarch64
131+
;;
132+
129133
x86_64 | x86-64 | x64 | amd64)
130134
local _cputype=x86_64
131135
;;
132136

133137
*)
134-
err "unknown CPU type: $CFG_CPUTYPE"
138+
err "unknown CPU type: $_cputype"
135139

136140
esac
137141

0 commit comments

Comments
 (0)