Skip to content

Commit 3d93c38

Browse files
committed
run Miri CI when std::sys changes
1 parent 5854680 commit 3d93c38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ci/scripts/should-skip-this.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ if [[ -n "${CI_ONLY_WHEN_SUBMODULES_CHANGED-}" ]]; then
1919
# those files are present in the diff a submodule was updated.
2020
echo "Submodules were updated"
2121
elif ! (git diff --quiet "$BASE_COMMIT" -- \
22-
src/tools/clippy src/tools/rustfmt src/tools/miri); then
22+
src/tools/clippy src/tools/rustfmt src/tools/miri
23+
library/std/src/sys); then
2324
# There is not an easy blanket search for subtrees. For now, manually list
2425
# the subtrees.
26+
# Also run this when the platform-specific parts of std change, in case
27+
# that breaks Miri.
2528
echo "Tool subtrees were updated"
2629
elif ! (git diff --quiet "$BASE_COMMIT" -- \
2730
src/test/rustdoc-gui \

0 commit comments

Comments
 (0)