vtid-proc 0.1.3

Procedural macro implementation for vtid - volatile type ID generation
Documentation
1
2
3
4
5
6
7
8
9


fn main() {
    let out_dir = std::env::var_os("OUT_DIR").unwrap();
    let lock_path = std::path::Path::new(&out_dir).join("vtid.lock");
    let lock_path = lock_path.to_str().expect("Lock path is not UTF-8").to_string();

    println!("cargo::rustc-env=VTID_PROC_MACRO_LOCK_FILE_PATH={}", lock_path);
}