Skip to content

Set -Zrandomize-layout? #2656

Closed as not planned
Closed as not planned
@RalfJung

Description

@RalfJung

rustc now has a flag to randomize the layout of repr(Rust) types which can help detect code that makes incorrect layout assumptions.

@rust-lang/miri Is that something Miri should enable? Sounds like it, doesn't it?

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