rustviz-plugin 2.0.0

A tool that allows users to generate an interactive timeline depicting ownership and borrowing events for variables in a Rust code example
1
2
3
4
5
6
7
8
9
10
// The driver binary needs the same rustc_private gate + extern crate
// declarations as the lib so the rustc_driver link succeeds.
#![feature(rustc_private)]

extern crate rustc_driver;
extern crate rustc_interface;

fn main() {
  rustc_plugin::driver_main(rustviz_plugin::RVPlugin);
}