release: prepare GP Connect 3.5.0 with Windows support

This commit is contained in:
Kevin Yue committed 2026-11-19 01:40:22 +08:00
1 parent 6ffb1e8709
commit 43c20d0976
172 files changed
+9629 -1171

No files matched your search

+7
View File
@@ -1,3 +1,6 @@
#[path = "build/windows.rs"]
mod windows;
use std::{env, path::PathBuf};
fn build_libxml2(deps_dir: &PathBuf, out_dir: &PathBuf) -> PathBuf {
@@ -188,6 +191,10 @@ fn build_openconnect(deps_dir: &PathBuf, out_dir: &PathBuf) -> PathBuf {
fn main() {
let target = target_os();
if target == "windows" {
windows::build();
return;
}
assert!(
matches!(target.as_str(), "macos" | "linux" | "freebsd" | "openbsd"),
"Unsupported OpenConnect target: {target}"