fix(hook): preserve WinSock connect errors

This commit is contained in:
funman300
2026-08-21 00:16:49 +00:00
parent b098617573
commit 44ebc4b23c
3 changed files with 64 additions and 8 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ fn main() {
{
let definition =
PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap()).join("version.def");
println!("cargo:rustc-link-arg={}", definition.display());
println!("cargo:rustc-cdylib-link-arg={}", definition.display());
}
}