fix: compile only on linux

This commit is contained in:
2026-10-03 21:24:05 +02:00
parent 0e2e97bf66
commit 043b6e93c8

View File

@@ -17,6 +17,9 @@
#![allow(non_snake_case)] #![allow(non_snake_case)]
#![warn(missing_docs)] #![warn(missing_docs)]
#[cfg(not(target_os = "linux"))]
compile_error!("Libnotify-rs only supports linux");
/// Basic libnotify rust wrapper /// Basic libnotify rust wrapper
pub mod api; pub mod api;
/// Higher level abstraction over api /// Higher level abstraction over api