Fix target os for macos. Add missing imports.
This commit is contained in:
@@ -4,13 +4,13 @@ mod windows;
|
||||
#[cfg(target_os = "linux")]
|
||||
mod linux;
|
||||
|
||||
#[cfg(target_os = "osx")]
|
||||
#[cfg(target_os = "macos")]
|
||||
mod osx;
|
||||
|
||||
pub mod prelude {
|
||||
#[cfg(target_os = "linux")]
|
||||
pub use super::linux::*;
|
||||
#[cfg(target_os = "osx")]
|
||||
#[cfg(target_os = "macos")]
|
||||
pub use super::osx::*;
|
||||
#[cfg(target_os = "windows")]
|
||||
pub use super::windows::*;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
use hotspot::{WifiHotspot, WifiHotspotError};
|
||||
use connectivity::{Connectivity, WifiConnectionError};
|
||||
use platforms::WiFi;
|
||||
use std::process::Command;
|
||||
|
||||
Reference in New Issue
Block a user