crust

(β˜… 176)

C99 (toy) compiler toolchain in Rust (in a weekend, for fun and self-education)

  • .gitignore
  • .travis.yml
  • bors.toml
  • Cargo.lock
  • Cargo.toml
  • LICENSE
  • README.md
  • test.sh
  • test_dev.sh

# Installation Guide

1. Get the code
git clone https://github.com/onehr/crust

Downloads the entire project code from GitHub to your computer.

cd crust

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