Skip to content

Commit 841bdd9

Browse files
authored
Merge pull request #53 from jclulow/illumos-case
"illumos" is officially typeset with a lower-case "i"
2 parents 42d651d + adf4a49 commit 841bdd9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "platform-info"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
authors = ["Alex Lyon <[email protected]>"]
55
edition = "2018"
66
description = "A simple cross-platform interface to get info about a system"

src/lib_impl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const HOST_OS_NAME: &str = if cfg!(all(
5353
} else if cfg!(target_os = "redox") {
5454
"Redox"
5555
} else if cfg!(target_os = "illumos") {
56-
"Illumos"
56+
"illumos"
5757
} else {
5858
"unknown"
5959
};

src/platform/unix.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl Debug for UTSName {
116116
.field("version", &oss_from_cstr(&self.0.version))
117117
.field("machine", &oss_from_cstr(&self.0.machine));
118118
// The domainname field is not part of the POSIX standard but a GNU extension. Therefor
119-
// BSD-like platforms and Illumos are missing the domainname field.
119+
// BSD-like platforms and illumos are missing the domainname field.
120120
#[cfg(not(any(
121121
target_os = "illumos",
122122
target_os = "macos",
@@ -150,7 +150,7 @@ impl PartialEq for UTSName {
150150
other.0.machine,
151151
);
152152
// The domainname field is not part of the POSIX standard but a GNU extension. Therefor
153-
// BSD-like platforms and Illumos are missing the domainname field.
153+
// BSD-like platforms and illumos are missing the domainname field.
154154
#[cfg(not(any(
155155
target_os = "illumos",
156156
target_os = "macos",

0 commit comments

Comments
 (0)