[INFO] fetching crate simavr-section 0.1.1...
[INFO] documenting simavr-section-0.1.1 against 1.69.0 for beta-1.70-rustdoc-1
[INFO] extracting crate simavr-section 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate simavr-section 0.1.1 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate simavr-section 0.1.1
[INFO] finished tweaking crates.io crate simavr-section 0.1.1
[INFO] tweaked toml for crates.io crate simavr-section 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simavr-section-macro v0.1.0
[INFO] [stderr]   Downloaded simavr-section-sys v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2db056e8238572bec75b853a54545e9ef0ddb98afd12539197bc9310d1a7dfb
[INFO] running `Command { std: "docker" "start" "-a" "b2db056e8238572bec75b853a54545e9ef0ddb98afd12539197bc9310d1a7dfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2db056e8238572bec75b853a54545e9ef0ddb98afd12539197bc9310d1a7dfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2db056e8238572bec75b853a54545e9ef0ddb98afd12539197bc9310d1a7dfb", kill_on_drop: false }`
[INFO] [stdout] b2db056e8238572bec75b853a54545e9ef0ddb98afd12539197bc9310d1a7dfb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 704895109e9fb9311198457f34cdea5ff5353ba4314def68741a333e714fa1a7
[INFO] running `Command { std: "docker" "start" "-a" "704895109e9fb9311198457f34cdea5ff5353ba4314def68741a333e714fa1a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling simavr-section-macro v0.1.0
[INFO] [stderr]    Compiling simavr-section-sys v0.1.0
[INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4098
[INFO] [stdout]    |
[INFO] [stdout] 3  | ..._MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u...
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub type c_char = u8;
[INFO] [stdout]    |     --------------------- similarly named type alias `c_char` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_char ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_uchar;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_uchar`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ushort` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4146
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: ...
[INFO] [stdout]   |                                                     ^^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ushort;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ushort`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4239
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate ...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_schar` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4286
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...rate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __in...
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub type c_char = u8;
[INFO] [stdout]    |     --------------------- similarly named type alias `c_char` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_char ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_schar;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_schar`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4334
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...ate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __ui...
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub type c_char = u8;
[INFO] [stdout]    |     --------------------- similarly named type alias `c_char` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_char ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_uchar;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_uchar`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_short` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4382
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = cra...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_short;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_short`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ushort` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4431
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate ...
[INFO] [stdout]   |                                                     ^^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ushort;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ushort`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4480
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...ate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_uint ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4574
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4622
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:4985
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...__uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crat...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5033
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = cra...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5082
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5131
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: ...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5177
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: l...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5313
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate ...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5361
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5455
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate ::...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5501
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5548
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug ,...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5593
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...= crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fs...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:5700
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...y , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { asse...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_uint ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6254
[INFO] [stdout]   |
[INFO] [stdout] 3 | ..._val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6300
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6349
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: l...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6440
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6541
[INFO] [stdout]   |
[INFO] [stdout] 3 | ..._uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = c...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6594
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ong ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: l...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6641
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_uint ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6685
[INFO] [stdout]    |
[INFO] [stdout] 3  | ... = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __tim...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_uint ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6733
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...rate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type ...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_uint ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6834
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = cra...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6882
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = c...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6932
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:6982
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7035
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...long ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7086
[INFO] [stdout]   |
[INFO] [stdout] 3 | ..._ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t =...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7139
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...long ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7188
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t =...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7235
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_u...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7290
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...g ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t =...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7345
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...g ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7479
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = ...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7580
[INFO] [stdout]    |
[INFO] [stdout] 3  | ... :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_...
[INFO] [stdout]    |                                                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub type c_uint = u16;
[INFO] [stdout]    |     ---------------------- similarly named type alias `c_uint` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_uint ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_int`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_schar` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:7976
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type in...
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub type c_char = u8;
[INFO] [stdout]    |     --------------------- similarly named type alias `c_char` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_char ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_schar;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_schar`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8027
[INFO] [stdout]   |
[INFO] [stdout] 3 | ..._schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = c...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8077
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = c...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_long` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8127
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t =...
[INFO] [stdout]   |                                                      ^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_long;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_long`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_uchar` in module `crate::libc`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8177
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...e :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type ...
[INFO] [stdout]    |                                                                   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub type c_char = u8;
[INFO] [stdout]    |     --------------------- similarly named type alias `c_char` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 3  | pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_char ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ~~~~~~
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | use core::ffi::c_uchar;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `c_uchar`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 3  - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3  + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8229
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8281
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_ulong` in module `crate::libc`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/simavr-section-sys-906a99d38e4d3d2f/out/bindings.rs:3:8333
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub co...
[INFO] [stdout]   |                                                      ^^^^^^^ not found in `crate::libc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simavr-section-sys-0.1.0/src/lib.rs:22:1
[INFO] [stdout]   |
[INFO] [stdout] 22| use core::ffi::c_ulong;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `c_ulong`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = crate :: libc :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout] 3 + pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 35 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub type __u_char = crate :: libc :: c_uchar ; pub type __u_short = crate :: libc :: c_ushort ; pub type __u_int = crate :: libc :: c_uint ; pub type __u_long = crate :: libc :: c_ulong ; pub type __int8_t = crate :: libc :: c_schar ; pub type __uint8_t = crate :: libc :: c_uchar ; pub type __int16_t = crate :: libc :: c_short ; pub type __uint16_t = crate :: libc :: c_ushort ; pub type __int32_t = crate :: libc :: c_int ; pub type __uint32_t = crate :: libc :: c_uint ; pub type __int64_t = crate :: libc :: c_long ; pub type __uint64_t = crate :: libc :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = crate :: libc :: c_long ; pub type __u_quad_t = crate :: libc :: c_ulong ; pub type __intmax_t = crate :: libc :: c_long ; pub type __uintmax_t = crate :: libc :: c_ulong ; pub type __dev_t = crate :: libc :: c_ulong ; pub type __uid_t = crate :: libc :: c_uint ; pub type __gid_t = crate :: libc :: c_uint ; pub type __ino_t = crate :: libc :: c_ulong ; pub type __ino64_t = crate :: libc :: c_ulong ; pub type __mode_t = crate :: libc :: c_uint ; pub type __nlink_t = crate :: libc :: c_ulong ; pub type __off_t = crate :: libc :: c_long ; pub type __off64_t = crate :: libc :: c_long ; pub type __pid_t = crate :: libc :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [crate :: libc :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: core :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: core :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < __fsid_t > ())) . __val as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } pub type __clock_t = crate :: libc :: c_long ; pub type __rlim_t = crate :: libc :: c_ulong ; pub type __rlim64_t = crate :: libc :: c_ulong ; pub type __id_t = crate :: libc :: c_uint ; pub type __time_t = crate :: libc :: c_long ; pub type __useconds_t = crate :: libc :: c_uint ; pub type __suseconds_t = crate :: libc :: c_long ; pub type __suseconds64_t = crate :: libc :: c_long ; pub type __daddr_t = crate :: libc :: c_int ; pub type __key_t = crate :: libc :: c_int ; pub type __clockid_t = crate :: libc :: c_int ; pub type __timer_t = * mut crate :: libc :: c_void ; pub type __blksize_t = crate :: libc :: c_long ; pub type __blkcnt_t = crate :: libc :: c_long ; pub type __blkcnt64_t = crate :: libc :: c_long ; pub type __fsblkcnt_t = crate :: libc :: c_ulong ; pub type __fsblkcnt64_t = crate :: libc :: c_ulong ; pub type __fsfilcnt_t = crate :: libc :: c_ulong ; pub type __fsfilcnt64_t = crate :: libc :: c_ulong ; pub type __fsword_t = crate :: libc :: c_long ; pub type __ssize_t = crate :: libc :: c_long ; pub type __syscall_slong_t = crate :: libc :: c_long ; pub type __syscall_ulong_t = crate :: libc :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut crate :: libc :: c_char ; pub type __intptr_t = crate :: libc :: c_long ; pub type __socklen_t = crate :: libc :: c_uint ; pub type __sig_atomic_t = crate :: libc :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = crate :: libc :: c_schar ; pub type int_fast16_t = crate :: libc :: c_long ; pub type int_fast32_t = crate :: libc :: c_long ; pub type int_fast64_t = crate :: libc :: c_long ; pub type uint_fast8_t = crate :: libc :: c_uchar ; pub type uint_fast16_t = crate :: libc :: c_ulong ; pub type uint_fast32_t = crate :: libc :: c_ulong ; pub type uint_fast64_t = c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const AVR_MMCU_TAG : crate :: libc :: c_uint = 0 ; pub const AVR_MMCU_TAG_NAME : crate :: libc :: c_uint = 1 ; pub const AVR_MMCU_TAG_FREQUENCY : crate :: libc :: c_uint = 2 ; pub const AVR_MMCU_TAG_VCC : crate :: libc :: c_uint = 3 ; pub const AVR_MMCU_TAG_AVCC : crate :: libc :: c_uint = 4 ; pub const AVR_MMCU_TAG_AREF : crate :: libc :: c_uint = 5 ; pub const AVR_MMCU_TAG_LFUSE : crate :: libc :: c_uint = 6 ; pub const AVR_MMCU_TAG_HFUSE : crate :: libc :: c_uint = 7 ; pub const AVR_MMCU_TAG_EFUSE : crate :: libc :: c_uint = 8 ; pub const AVR_MMCU_TAG_SIGNATURE : crate :: libc :: c_uint = 9 ; pub const AVR_MMCU_TAG_SIMAVR_COMMAND : crate :: libc :: c_uint = 10 ; pub const AVR_MMCU_TAG_SIMAVR_CONSOLE : crate :: libc :: c_uint = 11 ; pub const AVR_MMCU_TAG_VCD_FILENAME : crate :: libc :: c_uint = 12 ; pub const AVR_MMCU_TAG_VCD_PERIOD : crate :: libc :: c_uint = 13 ; pub const AVR_MMCU_TAG_VCD_TRACE : crate :: libc :: c_uint = 14 ; pub const AVR_MMCU_TAG_VCD_PORTPIN : crate :: libc :: c_uint = 15 ; pub const AVR_MMCU_TAG_VCD_IRQ : crate :: libc :: c_uint = 16 ; pub const AVR_MMCU_TAG_PORT_EXTERNAL_PULL : crate :: libc :: c_uint = 17 ; pub type _bindgen_ty_1 = crate :: libc :: c_uint ; pub const SIMAVR_CMD_NONE : crate :: libc :: c_uint = 0 ; pub const SIMAVR_CMD_VCD_START_TRACE : crate :: libc :: c_uint = 1 ; pub const SIMAVR_CMD_VCD_STOP_TRACE : crate :: libc :: c_uint = 2 ; pub const SIMAVR_CMD_UART_LOOPBACK : crate :: libc :: c_uint = 3 ; pub type _bindgen_ty_2 = crate :: libc :: c_uint ; # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_long_t { pub tag : u8 , pub len : u8 , pub val : u32 , } # [test] fn bindgen_test_layout_avr_mmcu_long_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_long_t > () , 6usize , concat ! ("Size of: " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_long_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_long_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_long_t > ())) . val as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_long_t) , "::" , stringify ! (val))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_string_t { pub tag : u8 , pub len : u8 , pub string : [crate :: libc :: c_char ; 64usize] , } # [test] fn bindgen_test_layout_avr_mmcu_string_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_string_t > () , 66usize , concat ! ("Size of: " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_string_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_string_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_string_t > ())) . string as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_string_t) , "::" , stringify ! (string))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_addr_t { pub tag : u8 , pub len : u8 , pub what : * mut crate :: libc :: c_void , } # [test] fn bindgen_test_layout_avr_mmcu_addr_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_addr_t > () , 10usize , concat ! ("Size of: " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_addr_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_addr_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_addr_t > ())) . what as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_addr_t) , "::" , stringify ! (what))) ; } # [repr (C , packed)] # [derive (Debug , Copy , Clone)] pub struct avr_mmcu_vcd_trace_t { pub tag : u8 , pub len : u8 , pub mask : u8 , pub what : * mut crate :: libc :: c_void , pub name : [crate :: libc :: c_char ; 32usize] , } # [test] fn bindgen_test_layout_avr_mmcu_vcd_trace_t () { assert_eq ! (:: core :: mem :: size_of :: < avr_mmcu_vcd_trace_t > () , 43usize , concat ! ("Size of: " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (:: core :: mem :: align_of :: < avr_mmcu_vcd_trace_t > () , 1usize , concat ! ("Alignment of " , stringify ! (avr_mmcu_vcd_trace_t))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . tag as * const _ as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (tag))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . len as * const _ as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (len))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . mask as * const _ as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (mask))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . what as * const _ as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (what))) ; assert_eq ! (unsafe { & (* (:: core :: ptr :: null :: < avr_mmcu_vcd_trace_t > ())) . name as * const _ as usize } , 11usize , concat ! ("Offset of field: " , stringify ! (avr_mmcu_vcd_trace_t) , "::" , stringify ! (name))) ; }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 52 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simavr-section-sys` due to 53 previous errors
[INFO] running `Command { std: "docker" "inspect" "704895109e9fb9311198457f34cdea5ff5353ba4314def68741a333e714fa1a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "704895109e9fb9311198457f34cdea5ff5353ba4314def68741a333e714fa1a7", kill_on_drop: false }`
[INFO] [stdout] 704895109e9fb9311198457f34cdea5ff5353ba4314def68741a333e714fa1a7
