From 469d6a8f88f6287f61a74f0c109336f2e097ebaf Mon Sep 17 00:00:00 2001 From: Tianqi Date: Wed, 17 Jan 2024 03:21:59 +0800 Subject: [PATCH] www: detect RISC-V 64 platform --- www/rustup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/rustup.js b/www/rustup.js index 03094cb06b..86558782d5 100644 --- a/www/rustup.js +++ b/www/rustup.js @@ -23,6 +23,7 @@ function detect_platform() { if (navigator.platform == "Linux ppc64") {os = "unix";} if (navigator.platform == "Linux mips") {os = "unix";} if (navigator.platform == "Linux mips64") {os = "unix";} + if (navigator.platform == "Linux riscv64") {os = "unix";} if (navigator.platform == "Mac") {os = "unix";} if (navigator.platform == "Win32") {os = "win32";} if (navigator.platform == "Win64" ||