Skip to content

Array alignment #2673

Closed
Closed
@daurnimator

Description

@daurnimator

As part of my module's public members, I want to expose a type that is an array of u8 with align(4).
This currently fails with

error: align qualifier invalid on array type
pub const State = [48]align(4)u8;

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