Skip to content

Commit

Permalink
fixed path [generate bindings]
Browse files Browse the repository at this point in the history
  • Loading branch information
CGMossa committed Apr 24, 2024
1 parent 279e873 commit ca334da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ fn get_r_library(r_home: &Path) -> PathBuf {
// For Windows
(true, "x86_64") => Path::new(r_home).join("bin").join("x64"),
(true, "x86") => Path::new(r_home).join("bin").join("i386"),
(true, "aarch64") => Path::new(r_home).join("bin").join("aarch64"),
(true, "aarch64") => Path::new(r_home).join("bin").join("x64"),
(true, _) => panic!("Unknown architecture"),
// For Unix-alike
(false, _) => Path::new(r_home).join("lib"),
Expand Down

0 comments on commit ca334da

Please sign in to comment.