This page is a lot but most of it you can ignore. The only important
thing is being able to compile rust and run cargo test.
- Recent Rust compiler (
rustup update stable) - (Optional) Rust LSP in your code editor
On Arch Linux:
# Basic
pacman -S rustup
rustup update stableCommon commands:
cargo test --all # Run all tests (slow)
cargo test -p rink-core # Run rink-core tests (faster)
cargo fmt # Reformat your code- cargo llvm-cov
- (For
make coverage-report) Python uv - (Optional) Extension for your code editor to render coverage info
On Arch Linux:
pacman -S cargo-llvm-cov uvCommon commands:
make coverage # Creates the lcov.info file
make coverage-report # Uses lcov.info to make report.mdRequires AsciiDoctor. (pacman -S asciidoctor)
make manThey will be placed in the build/ folder and can be viewed by passing
them to man, like man build/rink.1
See web/README.adoc