pub fn main() {
println!("cargo::rustc-check-cfg=cfg(doc)");
if option_env!("DOCS").is_some() {
println!("cargo::rustc-cfg=doc");
}
println!("cargo::rustc-check-cfg=cfg(wasm)");
match std::env::var("CARGO_CFG_TARGET_FAMILY") {
Ok(family) if family == "wasm" => {
println!("cargo::rustc-cfg=wasm");
},
_ => {},
}
}