You can set bindgen to only use the .dll instead of requiring both the .lib and .dll
via:
let bindings = bindgen::Builder::default() .header("inc/wrapper.h") .clang_arg("-v") .dynamic_library_name("SymCryptLib")
This will cause errors with unresolved errors for pub static variables exported from SymCrypt. Investigate if there is a way to circumvent this so that we can only rely on the .dll
You can set bindgen to only use the .dll instead of requiring both the .lib and .dll
via:
let bindings = bindgen::Builder::default() .header("inc/wrapper.h") .clang_arg("-v") .dynamic_library_name("SymCryptLib")This will cause errors with unresolved errors for
pub staticvariables exported from SymCrypt. Investigate if there is a way to circumvent this so that we can only rely on the .dll