Skip to content

Commit 97b4156

Browse files
committed
don't fail builds for rustc-guide
1 parent 0fdf24b commit 97b4156

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/ci/docker/x86_64-gnu-tools/checkregression.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import sys
55
import json
66

7+
# Regressions for these tools does not cause failure
8+
REGRESSION_OK = ["rustc-guide"]
9+
710
if __name__ == '__main__':
811
os_name = sys.argv[1]
912
toolstate_file = sys.argv[2]
@@ -32,7 +35,8 @@
3235
'The state of "{}" has {} from "{}" to "{}"'
3336
.format(tool, verb, state, new_state)
3437
)
35-
regressed = True
38+
if tool not in REGRESSION_OK:
39+
regressed = True
3640

3741
if regressed:
3842
sys.exit(1)

src/ci/docker/x86_64-gnu-tools/checktools.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ status_check() {
8989
# these tools are not required for beta to successfully branch
9090
check_dispatch $1 nightly miri src/tools/miri
9191
check_dispatch $1 nightly embedded-book src/doc/embedded-book
92-
check_dispatch $1 nightly rustc-guide src/doc/rustc-guide
9392
}
9493

9594
# If this PR is intended to update one of these tools, do not let the build pass

0 commit comments

Comments
 (0)