Add loongarch64 support (#7244)

Signed-off-by: wangweijie <wangweijie@loongson.cn>
This commit is contained in:
wangweijie 2024-02-23 20:08:35 +08:00 committed by GitHub
parent 8518513aff
commit cce1ce0ee0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,8 @@ fn link_vcpkg(mut path: PathBuf, name: &str) -> PathBuf {
target_arch = "x64".to_owned();
} else if target_arch == "x86" {
target_arch = "x86".to_owned();
} else if target_arch == "loongarch64" {
target_arch = "loongarch64".to_owned();
} else if target_arch == "aarch64" {
target_arch = "arm64".to_owned();
} else {