Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

No memory layout guarantee with zig structs #205

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

    Fields

    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