fnmain(){// docs.rs build env does not seem to have libiberty
ifletOk(_)=std::env::var("DOCS_RS"){return;}cc::Build::new().file("src/demangle.c").compile("libdemangle.a");// Cannot use #[link] macro in lib.rs because it adds -liberty before linking
// with our libdemangle.a which will fail.
println!("cargo:rustc-link-lib=iberty");}