You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- 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 according to bindgen issue 2312.
If change bindgen to "0.66.1", async-rdma will build fail with ibv_access_flags and ibv_event_type doesn't implement Debug because of derive_debug(false) build.rs#L145
`ibv_event_type` doesn't implement `Debug`
the trait `Debug` is not implemented for `ibv_event_type`
the trait `Debug` is implemented for `Arc<T>`
And if change build.rs#L145 to derive_debug(true), rdma-sys will build fail with following error.
`libc::pthread_mutex_t` doesn't implement `Debug`
the trait `Debug` is not implemented for `libc::pthread_mutex_t`
Hi, @my-vegetable-has-exploded
I found that the ibv_event_type and ibv_access_flags build by the 0.59 bindgen have implemented Debug even if the .derive_debug(false).
And the the newer bindgen doesn't impl that, so you made this change?
rdma-sys build fail with new clang version.
It seem that llvm changes cause this problem according to bindgen issue 2312.
If change bindgen to "0.66.1", async-rdma will build fail with
ibv_access_flags
andibv_event_type
doesn't implementDebug
because of derive_debug(false) build.rs#L145And if change build.rs#L145 to derive_debug(true), rdma-sys will build fail with following error.
My solution is to add some no_debug
The text was updated successfully, but these errors were encountered: