From 00a542ab9c0da12fd97827829c51dce643134122 Mon Sep 17 00:00:00 2001 From: Jeron Aldaron Lau Date: Sun, 3 Mar 2024 23:52:48 -0600 Subject: [PATCH] Fix rename --- src/os/target.rs | 2 +- src/os/unix.rs | 2 +- src/os/web.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/os/target.rs b/src/os/target.rs index 1314045..69b6ed4 100644 --- a/src/os/target.rs +++ b/src/os/target.rs @@ -57,7 +57,7 @@ impl Target for Os { } else if cfg!(target_os = "windows") { Platform::Windows } else if cfg!(target_os = "macos") { - Platform::MacOS + Platform::Mac } else if cfg!(target_os = "redox") { Platform::Redox } else if cfg!(target_os = "linux") { diff --git a/src/os/unix.rs b/src/os/unix.rs index 583dbd0..a803d4c 100644 --- a/src/os/unix.rs +++ b/src/os/unix.rs @@ -628,7 +628,7 @@ impl Target for Os { #[cfg(target_os = "macos")] { - Platform::MacOS + Platform::Mac } #[cfg(any( diff --git a/src/os/web.rs b/src/os/web.rs index 582ffec..d92d430 100644 --- a/src/os/web.rs +++ b/src/os/web.rs @@ -183,7 +183,7 @@ impl Target for Os { } else if string.contains("Linux") { Platform::Linux } else if string.contains("Mac OS X") { - Platform::MacOS + Platform::Mac } else { // TODO: // Platform::FreeBsd,