Skip to content

Commit b2b34bb

Browse files
Update preflight.sh
1 parent 6b0c70e commit b2b34bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/preflight.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ set -euo pipefail
55
cd "$(dirname "$0")/.."
66

77
# Ensure required tools are available
8-
# Install rustfmt unconditionally. The command is idempotent and will
9-
# skip installation if the tool is already available.
10-
cargo install rustfmt || true
8+
rustup component add rustfmt
119

1210
# Run formatting check and tests
1311
cargo fmt -- --check

0 commit comments

Comments
 (0)