From the repository root:
lake build
lake testlake test runs the unified smoke driver (lean_exe leanToolchainTests in lakefile.lean), covering crypto and math IO tests.
lake exe cryptoTests # SHA-256 / HMAC tests only
lake exe mathTests # Vector / matrix / norm tests only
lake exe benchmarks # Lean-side benchmarks entrypointlake exe extract
cd rust
cargo test
cargo clippy --all-targets -- -D warningslake exe extract overwrites generated sources under rust/src/, rust/Cargo.toml, and rust/benches/ from LeanToolchain/Extraction. Hand-written integration tests live in rust/tests/ (for example crypto_parity.rs) and are preserved across extract runs.
bash scripts/check_sorry.shThis mirrors the first step of .github/workflows/local-ci.yml.