aya/aya-obj/src
Andrés 5894c4ce82
Fix load errors for empty (but existent) BTF/BTF.ext sections ()
* use the hdr_len of BTF.ext sections rather than size of struct

Otherwise this will erroneously fail on older btf_ext_header that have
less fields than the bindgen'd struct

* do not attempt to load a BTF object that has no types

* add tests

* fix: hdr_len i32 -> u32

* guard against a bigger header in the future

* use separate unsafe blocks

* simplify writing to zero'd out header

* merge safe block and address typo
..
btf Fix load errors for empty (but existent) BTF/BTF.ext sections ()
generated aya-obj: fix compilation with nightly
programs aya: flip feature "no_std" to feature "std"
lib.rs aya: flip feature "no_std" to feature "std"
maps.rs aya: flip feature "no_std" to feature "std"
obj.rs Fix load errors for empty (but existent) BTF/BTF.ext sections ()
relocation.rs Build tests with all features
util.rs aya: flip feature "no_std" to feature "std"