Skip to content

Signed bitfields are broken in rust-bindgen #482

@ProfFan

Description

@ProfFan

See rust-lang/rust-bindgen#1160

I discovered this issue in wifi_pkt_rx_ctrl_t, but same problems could be in other places as well.

Appearance of the bug: all negative values such as the RSSI are instead shown as 2's complement (-xx to 2xx)

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