about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-04-05 20:47:24 +0900
committerGitHub <noreply@github.com>2023-04-05 20:47:24 +0900
commit616dde1d4e6aa540a28e961608ba8277e8f53b49 (patch)
tree6c13fbdde463c0f5ab353c180b92e2fe7cc3c031 /src/ci/docker
parentee63b650078ceeeca49bd7918de89495a5685eae (diff)
parent8a399555f03ee88cd9005eb71c0ef9e3a69c1991 (diff)
downloadrust-616dde1d4e6aa540a28e961608ba8277e8f53b49.tar.gz
rust-616dde1d4e6aa540a28e961608ba8277e8f53b49.zip
Rollup merge of #109952 - jyn514:python-comment, r=pietroalbini
Move comment about python2 closer to the place it's used

Addresses https://github.com/rust-lang/rust/pull/109267#discussion_r1141333399.

r? `@pietroalbini`
Diffstat (limited to 'src/ci/docker')
-rw-r--r--src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile b/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
index b5715024a84..34b93be412e 100644
--- a/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
+++ b/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
@@ -1,8 +1,6 @@
 FROM ubuntu:22.04
 
 ARG DEBIAN_FRONTEND=noninteractive
-# NOTE: intentionally uses python2 for x.py so we can test it still works.
-# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
 RUN apt-get update && apt-get install -y --no-install-recommends \
   g++ \
   make \
@@ -33,4 +31,6 @@ RUN pip3 install --no-deps --no-cache-dir --require-hashes -r /tmp/reuse-require
 COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
 COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/
 
+# NOTE: intentionally uses python2 for x.py so we can test it still works.
+# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
 ENV SCRIPT python2.7 ../x.py test --stage 0 src/tools/tidy tidyselftest