summaryrefslogtreecommitdiffstats
path: root/src/doc/rustc-dev-guide/examples/README
blob: ca49dd74db2604017a65c3651787910f8c7e11ca (plain)
1
2
3
4
5
6
7
8
9
10
11
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