]> git.proxmox.com Git - rustc.git/blobdiff - src/libstd/sys/unix/env.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / libstd / sys / unix / env.rs
index 891013406a1699cead6ea8630ba4ba89a96b1e58..7f5e9b04dba4b69b38f1cf1ade48f6096f7ba8b4 100644 (file)
@@ -97,6 +97,17 @@ pub mod os {
     pub const EXE_EXTENSION: &str = "";
 }
 
+#[cfg(target_os = "illumos")]
+pub mod os {
+    pub const FAMILY: &str = "unix";
+    pub const OS: &str = "illumos";
+    pub const DLL_PREFIX: &str = "lib";
+    pub const DLL_SUFFIX: &str = ".so";
+    pub const DLL_EXTENSION: &str = "so";
+    pub const EXE_SUFFIX: &str = "";
+    pub const EXE_EXTENSION: &str = "";
+}
+
 #[cfg(target_os = "haiku")]
 pub mod os {
     pub const FAMILY: &str = "unix";
@@ -152,10 +163,10 @@ pub mod os {
     pub const EXE_EXTENSION: &str = "";
 }
 
-#[cfg(target_os = "hermit")]
+#[cfg(target_os = "redox")]
 pub mod os {
     pub const FAMILY: &str = "unix";
-    pub const OS: &str = "hermit";
+    pub const OS: &str = "redox";
     pub const DLL_PREFIX: &str = "lib";
     pub const DLL_SUFFIX: &str = ".so";
     pub const DLL_EXTENSION: &str = "so";