mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 12:47:25 +08:00
Add windows arm64 target to CI core (#486)
This commit is contained in:
@@ -67,11 +67,13 @@ impl WindowsBuild {
|
||||
|
||||
pub fn check_for_win() {
|
||||
// add third_party dir to link search path
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
println!("cargo:rustc-link-search=native=easytier/third_party/");
|
||||
let target = std::env::var("TARGET").unwrap_or_default();
|
||||
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
println!("cargo:rustc-link-search=native=easytier/third_party/arm64/");
|
||||
if target.contains("x86_64") {
|
||||
println!("cargo:rustc-link-search=native=easytier/third_party/");
|
||||
} else if target.contains("aarch64") {
|
||||
println!("cargo:rustc-link-search=native=easytier/third_party/arm64/");
|
||||
}
|
||||
|
||||
let protoc_path = if let Some(o) = Self::check_protoc_exist() {
|
||||
println!("cargo:info=use os exist protoc: {:?}", o);
|
||||
|
||||
Reference in New Issue
Block a user