Skip to content

Document new mir-opt test format. #701

Open
@vext01

Description

@vext01

Hi,

It seems that the format of the mir-opt tests have recently changed. It'd be nice if this page could document the new format:
https://rustc-dev-guide.rust-lang.org/tests/adding.html

In the meantime, could someone confirm that mir-opt tests can no longer use elisions (...)?

I maintain a fork of rustc and I have a load of tests which rely heavily on elision. It wouldn't be possible to do exact comparisons as mir-opt now (seems to?) require, so I need to figure out what to do with them :\

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-mir-optArea: MIR optimizationsA-test-suiteArea: rust-lang/rust test suitesC-cleanupCategory: cleanupsE-easyDifficulty: might be a good place for a beginnerE-mentorCall for partcipation: this issue has mentoring instructions / mentors availableT-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions