Open celinval opened 7 months ago
Our org is working on building a new MIR operational semantics. Here is a basic wishlist for a stable MIR driver --- and we are also happy to contribute towards it, if there is any interest (most of this is restating points that were made on the zulip).
At a high level, we would like to serialize MIR (plus any needed metadata) so that our operational semantics engine can read the program semantics off the serialized data without needing to perform additional program transformations.
At a more detailed level, some of the following features would be useful:
This is a tracking issue for adding a Stable compiler driver that tools can use to extend the Rust compiler. This would replace the existing
rustc_smir::run!()
macro.