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 22, 2024
1 parent 4bd139b commit 0df5a92
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 0df5a92

Please sign in to comment.