Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Add an option to show the MIR #154

Closed
@RalfJung

Description

@RalfJung

I think it would be awesome if Rust Playpen could display the MIR of the code - that is, the MIR generated for every single function, and (potentially) the tables that are kept around, storing information about types. (I know very little about what information is actually kept around besides the MIR code itself.)

With the MIR becoming a central piece of the compiler, and borrow checking determined to be performed on the MIR eventually, I think this will be a great tool to debug borrowck issues, and to learn more about what happens "behind the scenes", about all the desugaring that's going on. The LLVM IR is so low-level that much of this can't be seen anymore.

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