diff --git a/src/lib.rs b/src/lib.rs index 6638a4a..255dc50 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,6 +17,9 @@ #![allow(non_snake_case)] #![warn(missing_docs)] +#[cfg(not(target_os = "linux"))] +compile_error!("Libnotify-rs only supports linux"); + /// Basic libnotify rust wrapper pub mod api; /// Higher level abstraction over api