Skip to content

Commit 69f70fd

Browse files
committed
Fix arm64 triplet vcpkg_installed path
1 parent da497df commit 69f70fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resiliparse/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use std::path::PathBuf;
1919
extern crate bindgen;
2020

2121
fn main() {
22-
let arch = consts::ARCH.replace("86_", "");
22+
let arch = consts::ARCH.replace("x86_64", "x64").replace("aarch64", "arm64");
2323
let os = consts::OS.replace("macos", "osx");
2424
let mut vcpkg_dir = PathBuf::from(format!("../vcpkg_installed/{}-{}", arch, os));
2525
vcpkg_dir = fs::canonicalize(vcpkg_dir.clone()).unwrap_or(vcpkg_dir);

0 commit comments

Comments
 (0)