Skip to content

FreeBSD i386: mismatch value on libxml binding #3319

@rosorio

Description

@rosorio

Hi,

I'm not really familiar with rust, but since a couple of months I have this bindgen error when compiling
the rust-libxml crate:

error[E0080]: evaluation of constant value failed
   --> /home/jc/rust-libxml/target/debug/build/libxml-0db722a43088e767/out/bindings.rs:407:29
    |
407 |   ["Size of __max_align_t"][::std::mem::size_of::<__max_align_t>() - 20usize];
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `16_usize - 20_usize`, which would overflow

I reporte this issue to the hurl project and the rust-libxml without success.

Environment:
FreeBSD 14.3 i385
rust 1.91.1
bindgen v0.71.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions