slice-dst 1.6.0

Slice-based custom DSTs
Documentation
1
2
3
4
5
6
7
fn main() {
    let cfg = autocfg::new();
    println!("cargo::rustc-check-cfg=cfg(has_strict_provenance)");
    cfg.emit_type_cfg("!", "has_never");
    cfg.emit_expression_cfg("<*const ()>::addr", "has_strict_provenance");
    autocfg::rerun_path("build.rs");
}