We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3246fda commit 8c03c5eCopy full SHA for 8c03c5e
2 files changed
Cargo.toml
@@ -24,7 +24,7 @@ use_existing_hdfs = []
24
25
[build-dependencies]
26
cc = "1"
27
-bindgen = "0.71.1"
+bindgen = "0.64.0"
28
java-locator = { version = "0.1.9", features = ["locate-jdk-only"] }
29
30
[dependencies]
build.rs
@@ -126,6 +126,8 @@ fn get_java_dependency() -> Vec<String> {
126
result.push(format!("-I{java_home}/include"));
127
#[cfg(target_os = "linux")]
128
result.push(format!("-I{java_home}/include/linux"));
129
+ #[cfg(target_os = "macos")]
130
+ result.push(format!("-I{java_home}/include/darwin"));
131
132
// libjvm link
133
let jvm_lib_location = java_locator::locate_jvm_dyn_library().unwrap();
0 commit comments