Skip to content

bug: Failing test on 32bit platform #6077

@cryptomilk

Description

@cryptomilk

Describe the bug

The assert_size() test in src/lib.rs fails on 32bit platforms!

failures:
---- tests::assert_size stdout ----
thread 'tests::assert_size' panicked at src/lib.rs:159:9:
assertion `left == right` failed
  left: 16
 right: 8
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
    tests::assert_size

Steps to Reproduce

Build and run tests on 32bit platform.

See also https://koji.fedoraproject.org/koji/taskinfo?taskID=131854044

Expected Behavior

The hardcoded values should match the platform being built on.

Additional Context

No response

Are you willing to submit a PR to fix this bug?

  • Yes, I would like to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions