Skip to main content

BUILD_RS

Constant BUILD_RS 

Source
pub const BUILD_RS: &str = r#"fn main() {
    if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {
        println!("cargo:rustc-cdylib-link-arg=-Wl,-undefined,dynamic_lookup");
    }
}
"#;