tikv / rust-rocksdb

rust wrapper for rocksdb
Apache License 2.0
276 stars 155 forks source link

FFI bindings file generated by bindgen never used actually ? #793

Closed mzygQAQ closed 2 months ago

mzygQAQ commented 2 months ago

I found that there are two sets of FFI bindings in the project, namely bindings/xx-linux-gnu-binding. rs and src/lib. rs, but there are some differences between the two, so I am a bit confused.

Currently, the binding generated by bindgen is not actually working, is it? If we want to add something, we should still need to manually add the binding in lib.rs, right?

Connor1996 commented 2 months ago

Yes, the bindgen is never used

mzygQAQ commented 2 months ago

Got it , thank you !