We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da497df commit 69f70fdCopy full SHA for 69f70fd
resiliparse/build.rs
@@ -19,7 +19,7 @@ use std::path::PathBuf;
19
extern crate bindgen;
20
21
fn main() {
22
- let arch = consts::ARCH.replace("86_", "");
+ let arch = consts::ARCH.replace("x86_64", "x64").replace("aarch64", "arm64");
23
let os = consts::OS.replace("macos", "osx");
24
let mut vcpkg_dir = PathBuf::from(format!("../vcpkg_installed/{}-{}", arch, os));
25
vcpkg_dir = fs::canonicalize(vcpkg_dir.clone()).unwrap_or(vcpkg_dir);
0 commit comments