wayland-backend 0.3.7

Low-level bindings to the Wayland protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    println!("cargo:rustc-check-cfg=cfg(coverage)");

    if std::env::var("CARGO_FEATURE_LOG").ok().is_some() {
        // build the client shim
        cc::Build::new().file("src/sys/client_impl/log_shim.c").compile("log_shim_client");
        println!("cargo:rerun-if-changed=src/sys/client_impl/log_shim.c");
        // build the server shim
        cc::Build::new().file("src/sys/server_impl/log_shim.c").compile("log_shim_server");
        println!("cargo:rerun-if-changed=src/sys/server_impl/log_shim.c");
    }
}