Skip to content
This repository was archived by the owner on Mar 17, 2024. It is now read-only.

Commit 63c518f

Browse files
committed
Add riscv64gc-unknown-linux-gnu support
1 parent 2560d85 commit 63c518f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

rustup-init.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ get_architecture() {
295295
s390x)
296296
_cputype=s390x
297297
;;
298-
298+
riscv64)
299+
_cputype=riscv64gc
300+
;;
299301
*)
300302
err "unknown CPU type: $_cputype"
301303

@@ -321,6 +323,9 @@ get_architecture() {
321323
_ostype="${_ostype}eabihf"
322324
fi
323325
;;
326+
riscv64gc)
327+
err "riscv64 with 32-bit userland unsupported"
328+
;;
324329
esac
325330
fi
326331

0 commit comments

Comments
 (0)