14 lines
322 B
Rust
14 lines
322 B
Rust
fn main() {
|
|
if cfg!(target_os = "macos") {
|
|
println!("cargo:rustc-link-lib=framework=UserNotifications");
|
|
}
|
|
#[cfg(windows)]
|
|
{
|
|
windows::build!(
|
|
windows::data::xml::dom::XmlDocument,
|
|
windows::foundation::*,
|
|
windows::ui::notifications::*,
|
|
);
|
|
}
|
|
}
|