Denis Drakhnia
2 months ago
4 changed files with 12 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
fn main() { |
||||||
|
let ac = autocfg::new(); |
||||||
|
println!("cargo:rustc-check-cfg=cfg(has_doc_auto_cfg)"); |
||||||
|
if ac.probe_raw("#![feature(doc_auto_cfg)]").is_ok() { |
||||||
|
println!("cargo:rustc-cfg=has_doc_auto_cfg"); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue