Skip to content

No memory layout guarantee with zig structs #205

@krichprollsch

Description

@krichprollsch

Once a zig struct exceeds a given size, it reorders the field's structs.
In this case, casting at the proto level fails and calls become invalid.

The issue happens with XMLHttpRequest: https://lightpanda.slack.com/archives/C05TRU6RBM1/p1707819010681019

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions