|
|
||
|---|---|---|
| .. | ||
| README | ||
| rustc-driver-example.rs | ||
| rustc-driver-getting-diagnostics.rs | ||
| rustc-driver-interacting-with-the-ast.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