Skip to content

Commit 5e84292

Browse files
authored
Merge pull request #11 from asdacap/increment-bindgen
Increment Bindgen Version
2 parents e6c8707 + 65093c0 commit 5e84292

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

xgboost-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ readme = "README.md"
1313
libc = "0.2"
1414

1515
[build-dependencies]
16-
bindgen = "0.36"
16+
bindgen = "0.59"

xgboost-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ fn main() {
3636
.header("wrapper.h")
3737
.clang_arg(format!("-I{}", xgb_root.join("include").display()))
3838
.clang_arg(format!("-I{}", xgb_root.join("rabit/include").display()))
39+
.size_t_is_usize(true)
3940
.generate()
4041
.expect("Unable to generate bindings.");
4142

0 commit comments

Comments
 (0)