ptr-union 2.3.0

Pointer union types the size of a pointer by storing the tag in the alignment bits.
Documentation
1
2
3
4
5
6
7
fn main() {
    let cfg = autocfg::new();
    println!("cargo::rustc-check-cfg=cfg(has_never, has_strict_provenance)");
    cfg.emit_type_cfg("!", "has_never");
    cfg.emit_expression_cfg("<*const ()>::addr", "has_strict_provenance");
    autocfg::rerun_path("build.rs");
}