blob: ca49dd74db2604017a65c3651787910f8c7e11ca [file] [log] [blame] [edit]
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