mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 21:21:14 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
11 lines
277 B
C
11 lines
277 B
C
// bindgen-flags: --rust-target 1.21
|
|
//
|
|
// FIXME: https://github.com/rust-lang/rust-bindgen/issues/1498
|
|
|
|
struct header
|
|
{
|
|
char proto;
|
|
unsigned int size __attribute__ ((packed));
|
|
unsigned char data[] __attribute__ ((aligned(8)));
|
|
} __attribute__ ((aligned, packed));
|