We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bab602 commit 810efaeCopy full SHA for 810efae
.github/scripts/ci-style.sh
@@ -2,6 +2,15 @@
2
3
export RUSTFLAGS="-D warnings -A unknown-lints"
4
5
+# --- Check format ---
6
+cargo fmt -- --check
7
+cargo fmt --manifest-path=macros/Cargo.toml -- --check
8
+
9
+# All versions of Clippy randomly crash on Darwin. We disable Clippy tests for Darwin for now.
10
+if [[ $(uname) == "Darwin" ]]; then
11
+ exit 0
12
+fi
13
14
# Workaround the clippy issue on Rust 1.72: https://github.com/mmtk/mmtk-core/issues/929.
15
# If we are not testing with Rust 1.72, or there is no problem running the following clippy checks, we can remove this export.
16
CLIPPY_VERSION=$(cargo clippy --version)
0 commit comments