llvm-rust-getting-started

(β˜… 98)

A super-simple compiler demoing how to talk to LLVM from Rust

  • .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 Recommended
Prerequisites
  • 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