rcc: a Rust C compiler
A C compiler written in Rust, with a focus on good error messages. Warning: my first rust project, code quality is pretty low.
cargo run from top level directory.
You can also use cargo run -- --debug-lex, cargo run -- --debug-ast, cargo run -- --debug-asm
to show a very verbose description of the lexemes/AST/IR respectively.
Use cargo run -- --help for all options.
You need to have cc on your PATH. You can either install mingw + gcc or MSVC.
Other than that, it should work exactly the same as on Linux.
```sh cargo test
grep -R unimplemented src, thoughtests/fuzz.sh
HFUZZRUNARGS="--tmoutsigvtalrm --exitupon_crash" tests/hfuzz.sh ```
See FAQ.md
See CONTRIBUTING.md. This also includes reporting bugs.