Tamir Duberstein
Tamir Duberstein
We're happy to accept a pull request.
FWIW I think this issue is not about "not using aya-build" (because that would require inventing a separate build system).
The usual workaround is to add a function (in C) that returns the macro value. As for the other "constants": feel free to try to changing the bindgen options.
Yes currently we point bindgen at libbpf headers. You'd have to introduce a new headset that `#include`s the libbpf headers *and* defines a function that returns this macro, then point...
Wait, that's not right. That won't work without actual ffi. Maybe ask upstream to figure out why this macro can't generate a rust definition?
@catriona-m gentle ping here. Could you please have another look?
Please avoid opening a new PR each time. There are comments I left in #1131 that remain unaddressed.
Please let us know when the tests are passing, or if you need help understanding the failures.
Looks like you need to rebase after https://github.com/aya-rs/aya/pull/1162.
I'd like @dave-tucker to have a final look.