.PHONY: ci fmt clippy test miri loom
ci: fmt clippy test miri loom
@echo ""
@echo "All CI checks passed."
fmt:
@echo "==> cargo fmt --check"
cargo fmt -- --check
clippy:
@echo "==> cargo clippy"
RUSTFLAGS="-Dwarnings" cargo clippy --all-targets -- -D warnings
@echo "==> cargo clippy (pdfium)"
RUSTFLAGS="-Dwarnings" cargo clippy --all-targets --features pdfium -- -D warnings
test:
@echo "==> cargo test"
RUSTFLAGS="-Dwarnings" cargo test
miri:
@echo "==> cargo +nightly miri test"
cargo +nightly miri test
loom:
@echo "==> loom tests"
RUSTFLAGS="--cfg loom" cargo test --lib loom_tests