Skip to content

linux::sock_ctrl_msg::tests::buffer_len assert failure on armhf #190

@mjt0k

Description

@mjt0k

failures:

---- linux::sock_ctrl_msg::tests::buffer_len stdout ----
thread 'linux::sock_ctrl_msg::tests::buffer_len' panicked at 'assertion failed: `(left == right)`
  left: `20`,
 right: `16`', src/linux/sock_ctrl_msg.rs:479:13

This is this code:
        assert_eq!(
            CMSG_SPACE!(size_of::()),
            size_of::() + size_of::()
        );

I guess this is due to wrong size/type used in some structure.

https://ci.debian.net/data/autopkgtest/testing/armhf/r/rust-vmm-sys-util/32900885/log.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions