Do per-feature testing

This commit is contained in:
Dimitris Zervas
2023-06-05 15:17:52 +03:00
parent 6d0990e218
commit 7b792dc749
4 changed files with 10 additions and 6 deletions

View File

@@ -28,9 +28,8 @@ fn main() {
};
for e in exports.iter() {
// println!("cargo:warning=Exported function: {} => {}-orig.{}", e, lib_name, e);
println!("cargo:warning=Exported function: {} => {}-orig.{}", e, lib_name, e);
println!("cargo:rustc-link-arg=/export:{}={}-orig.{}", e, lib_name, e);
// println!("cargo:rustc-link-lib=dylib={}-orig", lib_name);
}
println!("cargo:warning=Expected library name: {}-orig.dll", lib_name);
println!("cargo:rustc-env=LIB_NAME={}-orig.dll", lib_name);