We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab648dc + 7418a53 commit 9f40467Copy full SHA for 9f40467
rustup-init.sh
@@ -370,6 +370,9 @@ get_architecture() {
370
riscv64)
371
_cputype=riscv64gc
372
;;
373
+ loongarch64)
374
+ _cputype=loongarch64
375
+ ;;
376
*)
377
err "unknown CPU type: $_cputype"
378
src/dist/triple.rs
@@ -22,6 +22,7 @@ static LIST_ARCHS: &[&str] = &[
22
"powerpc64le",
23
"riscv64gc",
24
"s390x",
25
+ "loongarch64",
26
];
27
static LIST_OSES: &[&str] = &[
28
"pc-windows",
src/test.rs
@@ -99,6 +99,8 @@ pub fn this_host_triple() -> String {
99
"riscv64gc"
100
} else if cfg!(target_arch = "aarch64") {
101
"aarch64"
102
+ } else if cfg!(target_arch = "loongarch64") {
103
+ "loongarch64"
104
} else {
105
unimplemented!()
106
};
0 commit comments