#!/usr/bin/env bash # Restore both runtime feature configurations, docs and ordinary example linking, without fuzz caps. set -euo pipefail unset CRAFT_HOSTILE_DIVISOR PROPTEST_CASES if [ "${RUNNER_OS:-}" = Windows ]; then powershell.exe -NoProfile -Command '$ErrorActionPreference = "Stop"; Start-Service Spooler; Add-PrinterDriver -Name "Generic / Text Only"' fi cargo fmt --check cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings # cargo test includes docs and ordinary example linking, as required by AGENTS.md. cargo test --workspace --locked cargo test --workspace --all-features --locked