rdma-sys
rdma-sys copied to clipboard
Rust bindings for RDMA fundamental libraries: libibverbs-dev and librdmacm-dev
1. The ibv_opcode_* consts definition here should be the same as the one in rdma-core/libibverbs/opcode.h. Hovever, rdma-core uses anonymous enum type and cannot generate Rust bindings, so here we have...
change the binding option of type `pthread_*` to opaque_type. it makes the structure containing the pthread_* varibles to derive Copy trait
rdma-sys build fail with new clang version. ``` --- stderr thread 'main' panicked at '"ib_uverbs_flow_action_esp_encap_union_(anonymous_at_/usr/include/infiniband/ib_user_ioctl_verbs_h_189_2)" is not a valid Ident', /home/wy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.60/src/fallback.rs:791:9 ``` It seem that llvm changes cause this problem...
``` [acb8du9j30@login03 ibv]$ cargo build Compiling rdma-sys v0.3.0 error: failed to run custom build command for `rdma-sys v0.3.0` Caused by: process didn't exit successfully: `/work/home/acb8du9j30/rdma_test/ibv/target/debug/build/rdma-sys-9b0811c26487ede9/build-script-build` (exit status: 101) --- stdout...
This pull request updates the bindgen crate to the latest version, addressing build issue #26 with minimal changes to the codebase. Additionally, the memoffset crate is also updated as part...