proxy-dll 0.2.2

A dynamic Windows System DLL proxy
1
2
3
4
5
6
7
8
9
use std::path::Path;

fn main() {
    #[cfg(target_os = "windows")]
    {
        let lib_path = Path::new("deps").join("Exports.def");
        println!("cargo:rustc-cdylib-link-arg=/DEF:{}", lib_path.display());
    }
}