Open montanalow opened 10 months ago
@montanalow Thanks for this, looks good on quick read through! I'll spend a bit of time reviewing in detail shortly (just dealing with a bit of a backlog after xmas...).
Code changes mostly look good I think.
I'm having some trouble building xgboost-sys after the changes though, so still investigating that. I get the errors:
error[E0412]: cannot find type `_Tp` in this scope --> /Users/dsc/src/rust-xgboost/xgboost-sys/target/debug/build/xgboost-sys-95c0101c1ac52cb0/out/bindings.rs:452:27 | 452 | pub static std_value: _Tp; | ^^^ not found in this scope For more information about this error, try `rustc --explain E0412`. error: could not compile `xgboost-sys` (lib) due to previous error
I'll carry on trying to find the cause though, possible I'm using an outdated llvm install.
This one took me a bit, but I think it's fixed by https://github.com/davechallis/rust-xgboost/pull/21/commits/0307a92960290bbe74b69cdeff2dd9090201f346
Needs detailed review: