Skip to content

Run tests via miri for compiler crates that use unsafe #110015

@WaffleLapkin

Description

@WaffleLapkin

#109971 made it so compiler/rustc_data_structures pass tests under miri. We should add testing under miri to CI in order to prevent future unsound bugs that can be detected with it.

Running the whole compiler through miri seems impossible, but running tests of crates that use unsafe code (like rustc_data_structures) seems both plausible and useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions