Input C/C++ Header
Bindgen Invocation
Actual Results
/* automatically generated by rust-bindgen 0.66.1 */
pub const B: u32 = 1;
Expected Results
I expected
pub const A: u32 = 1;
pub const B: u32 = 1;
Both gcc and clang accept these kind of "out of order" definitions (as counter-intuitive as it is), and the linux kernel makes use of this in kvm.h, which is how we discovered this issue in rust-vmm/kvm-bindings#89
Input C/C++ Header
Bindgen Invocation
Actual Results
Expected Results
I expected
Both gcc and clang accept these kind of "out of order" definitions (as counter-intuitive as it is), and the linux kernel makes use of this in
kvm.h, which is how we discovered this issue in rust-vmm/kvm-bindings#89