-
Notifications
You must be signed in to change notification settings - Fork 767
Closed
Description
Input C/C++ Header
// bindgen-flags: --impl-debug --use-core --raw-line "extern crate core;"
class C {
bool a: 1;
bool b: 7;
int large_array[50];
};
Bindgen Invocation
See bindgen-flags above
Actual Results
// ... stripped
extern crate core;
#[repr(C)]
#[derive(Copy)]
pub struct C {
pub _bitfield_1: u8,
pub large_array: [::std::os::raw::c_int; 50usize]
}
// stripped ...
Expected Results
Despite that --use-core
flag is provided large_array
field having a type which refers std
.
I expect that either error is printed stating that bindings couldn't be generated with --use-core
or bindings which don't use std generated.