llvm-rust-getting-started
A super-simple compiler demoing how to talk to LLVM from Rust
File Explorer
Download Latest Version (.zip)- main.rs
- .gitignore
- Cargo.toml
- in.ex
- out.ll
- README.md
- Vagrantfile
# Installation Guide
1. Get the code
git clone https://github.com/ucarion/llvm-rust-getting-started
Downloads the entire project code from GitHub to your computer.
cd llvm-rust-getting-started
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
