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
(there is some potential overlap with #602 and perhaps even #590, depending on what we end up building, but let's perhaps capture issues as we identify them currently)
There may be cases where it is unavoidable for a user to use bindgen for generating Rust types for something not otherwise interacted with by libbpf-cargo. In such an instance -- the current thinking goes -- it may be necessary for users to hook up bindgen themselves. This can potentially result in a situation where there is an overlap between what bindgen and libbpf-rs generates and that, in turn, could result in bad ergonomics, because these would be distinct types at the Rust level and there is no way to convert the two.
We need to come up with a good story to mitigate such a situation.
The text was updated successfully, but these errors were encountered:
(there is some potential overlap with #602 and perhaps even #590, depending on what we end up building, but let's perhaps capture issues as we identify them currently)
There may be cases where it is unavoidable for a user to use
bindgen
for generating Rust types for something not otherwise interacted with bylibbpf-cargo
. In such an instance -- the current thinking goes -- it may be necessary for users to hook upbindgen
themselves. This can potentially result in a situation where there is an overlap between whatbindgen
andlibbpf-rs
generates and that, in turn, could result in bad ergonomics, because these would be distinct types at the Rust level and there is no way to convert the two.We need to come up with a good story to mitigate such a situation.
The text was updated successfully, but these errors were encountered: