rustc-dev-guide/examples
Askar Safin 9f683c9070 tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` 2025-02-03 13:25:57 +03:00
..
README
rustc-driver-example.rs
rustc-driver-interacting-with-the-ast.rs
rustc-interface-example.rs
rustc-interface-getting-diagnostics.rs

README

For each example to compile, you will need to first run the following:

    rustup component add rustc-dev llvm-tools

To create an executable:

    rustc rustc-driver-example.rs

To run an executable:

    rustup run nightly ./rustc-driver-example