iced_live_cast 0.1.2

Blazing-fast cross-platform monitor casting widgets and sources for iced
1
2
3
4
5
6
7
8
9
/// Emits the system Swift runtime search path required by macOS examples,
/// tests, and applications that link `iced_live_cast`.
fn main() {
    if std::env::var_os("CARGO_CFG_TARGET_OS").as_deref() != Some("macos".as_ref()) {
        return;
    }

    println!("cargo:rustc-link-arg=-Wl,-rpath,/usr/lib/swift");
}