mirror of
https://github.com/szymon-jozef/libnotify-rs.git
synced 2026-10-27 19:20:43 +01:00
fix: compile only on linux
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user