Repository navigation
Conversation
Update the libbpf submodule to version 1.8.0 to get the latest and greatest. Signed-off-by: Daniel Müller <deso@posteo.net>
|
This doesn't really seem backwards compatible given the rename of |
|
I think we probably just have to bite the bullet and accept certain risks here: a strict backwards compat story for a bindgened library is simply not feasible with such a moving target of the underlying C header. If new types are added in the middle numbers embedded in types will shift. Similarly, some bitfield replacements may cause constructors to be removed etc. |
|
We had to freeze at a certain bindgen version too recently, right? Maybe we make the contract explicit: the version number of this crate corresponds to the version of libbpf it wraps. It is not a semver version. |
|
Yeah. It's still a bit unfortunately for something like |
|
An alternative would be to only ever use major: v180.0.0 = libbpf 1.8.0. |
I think one issue with that is that it forces us into incompatible changes. So far we've been lucky (or ignorant) and this is the first bump to cause trouble. So if we go with a major number representation we'd have a lot of incompatible releases for no real reason, would be my worry. |
Update the libbpf submodule to version 1.8.0 to get the latest and greatest.