This can not be accomplished when compiling from rust. type_
as emitted by bindgen or r#type
generate wrong identifier names in the debug info making it impossible to get btf to acknowledge a type
field. I'd suggest also accepting type_
.
Ups wrong repo should be the libbpf one.