(draft; work in progress)
See also:
- Compilers
- Program analysis:
- Dynamic analysis - instrumentation, translation, sanitizers
// This is required to be able to use the rustc crates. | |
#![feature(rustc_private)] | |
// This is only required for the `rustc_*` crates. Regular dependencies can be used without it. | |
extern crate rustc_driver; | |
extern crate rustc_hir; | |
extern crate rustc_interface; | |
extern crate rustc_middle; | |
use rustc_driver::{catch_with_exit_code, Callbacks, Compilation, RunCompiler}; |
(draft; work in progress)
See also: