Skip to content

Respect repr(align) on functions #4282

Closed
rust-lang/rust
#140072
@RalfJung

Description

@RalfJung

There's a #[repr(align(N))] attribute on functions (rust-lang/rust#82232). Miri currently ignores this when assigning addresses to functions; we should fix that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-interpreterArea: affects the core interpreterC-bugCategory: This is a bug.I-wrongImpact: makes Miri produce incorrect program behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions