about summary refs log tree commit diff
path: root/src/ci/docker
diff options
context:
space:
mode:
authorjyn <jyn.nelson@redjack.com>2023-04-04 20:45:20 -0400
committerjyn <jyn.nelson@redjack.com>2023-04-04 20:45:20 -0400
commit8a399555f03ee88cd9005eb71c0ef9e3a69c1991 (patch)
treea518a108d2ca81e3ff75d47a79984adaf69e3e71 /src/ci/docker
parent7c96e40da81165beef4f273f44e96eeef5a1bd30 (diff)
downloadrust-8a399555f03ee88cd9005eb71c0ef9e3a69c1991.tar.gz
rust-8a399555f03ee88cd9005eb71c0ef9e3a69c1991.zip
Move comment about python2 closer to the place it's used
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