We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33cb5e commit 2cc7e92Copy full SHA for 2cc7e92
www/rustup.js
@@ -32,6 +32,7 @@ function detect_platform() {
32
if (navigator.platform == "FreeBSD amd64") {os = "unix";}
33
if (navigator.platform == "NetBSD x86_64") {os = "unix";}
34
if (navigator.platform == "NetBSD amd64") {os = "unix";}
35
+ if (navigator.platform == "SunOS i86pc") {os = "unix";}
36
37
// I wish I knew by now, but I don't. Try harder.
38
if (os == "unknown") {
@@ -49,6 +50,7 @@ function detect_platform() {
49
50
if (navigator.oscpu.indexOf("Linux")!=-1) {os = "unix";}
51
if (navigator.oscpu.indexOf("FreeBSD")!=-1) {os = "unix";}
52
if (navigator.oscpu.indexOf("NetBSD")!=-1) {os = "unix";}
53
+ if (navigator.oscpu.indexOf("SunOS")!=-1) {os = "unix";}
54
}
55
56
return os;
0 commit comments