We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3a8fb commit 01aef88Copy full SHA for 01aef88
xgboost-sys/build.rs
@@ -41,7 +41,10 @@ fn main() {
41
42
let bindings = bindgen::Builder::default()
43
.header("wrapper.h")
44
+ .derive_default(true)
45
.clang_args(&["-x", "c++", "-std=c++11"])
46
+ .clang_arg(format!("-I/usr/include/c++/11"))
47
+ .clang_arg(format!("-I/usr/include/x86_64-linux-gnu/c++/11"))
48
.clang_arg(format!("-I{}", xgb_root.join("include").display()))
49
.clang_arg(format!("-I{}", xgb_root.join("rabit/include").display()))
50
.clang_arg(format!("-I{}", xgb_root.join("dmlc-core/include").display()));
0 commit comments