Closed
Description
Hi! If my struct contains large arrays, then Debug
is not being generated. However if I add Debug
manually, it compiles and runs just fine.
Input C/C++ Header
typedef struct {
char f[33];
} A;
Bindgen Invocation
$ bindgen input.h
Actual Results
/* automatically generated by rust-bindgen 0.56.0 */
#[repr(C)]
#[derive(Copy, Clone)]
pub struct A {
pub f: [::std::os::raw::c_char; 33usize],
}
...
Expected Results
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct A {
pub f: [::std::os::raw::c_char; 33usize],
}