Skip to content

Commit 469d6a8

Browse files
airstone42rami3l
authored andcommitted
www: detect RISC-V 64 platform
1 parent 2549431 commit 469d6a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

www/rustup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function detect_platform() {
2323
if (navigator.platform == "Linux ppc64") {os = "unix";}
2424
if (navigator.platform == "Linux mips") {os = "unix";}
2525
if (navigator.platform == "Linux mips64") {os = "unix";}
26+
if (navigator.platform == "Linux riscv64") {os = "unix";}
2627
if (navigator.platform == "Mac") {os = "unix";}
2728
if (navigator.platform == "Win32") {os = "win32";}
2829
if (navigator.platform == "Win64" ||

0 commit comments

Comments
 (0)