ionian-find/src/platform/mod.rs
2025-06-26 18:51:51 +09:00

18 lines
496 B
Rust

pub mod linux;
pub mod windows;
#[cfg(target_os = "linux")]
pub use linux::*;
#[cfg(target_os = "windows")]
pub use windows::*;
#[cfg(not(any(target_os = "linux", target_os = "windows")))]
pub fn handle_register() -> Result<(), String> {
unimplemented!("Register is not yet implemented for this OS.");
}
#[cfg(not(any(target_os = "linux", target_os = "windows")))]
pub fn handle_unregister() -> Result<(), String> {
unimplemented!("Unregister is not yet implemented for this OS.");
}