Skip to content

Commit b025af1

Browse files
committed
rust: Pin rustfmt to nightly-2025-02-27
1 parent 1cd25e2 commit b025af1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
5757
--profile minimal \
5858
--no-modify-path \
5959
--no-update-default-toolchain \
60-
--default-toolchain nightly \
60+
--default-toolchain nightly-2025-02-27 \
6161
--component rustfmt
6262

6363
ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin/"
@@ -94,4 +94,5 @@ COPY --from=goimports-builder /usr/local/go/bin/gofmt /usr/bin
9494
COPY --from=openapi-codegen-builder /app/target/release/openapi-codegen /usr/bin/
9595

9696
# Ruby
97-
COPY --from=rubyfmt-builder /app/target/release/rubyfmt-main /usr/bin/rubyfmt
97+
COPY --from=rubyfmt-builder /app/target/release/rubyfmt-main /usr/bin/rubyfmt
98+

src/postprocessing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl PostprocessorLanguage {
9292
Self::Rust => &[(
9393
"rustfmt",
9494
&[
95-
"+nightly",
95+
"+nightly-2025-02-27",
9696
"--unstable-features",
9797
"--skip-children",
9898
"--edition",

0 commit comments

Comments
 (0)