Skip to content
Snippets Groups Projects
Commit 48fc4d06 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

hghave: update expected rustfmt version

We still use nightly, but have moved to a newer nightly after the last
CI image upgrade in 74f1bf147a6d and 3876d4c6c79e.
parent 2aed5146
No related merge requests found
......@@ -1130,7 +1130,7 @@
return version and sv(_bytes2sys(version.group(0))) >= sv('2019.10.17')
@check("rustfmt", "rustfmt tool at version nightly-2021-11-02")
@check("rustfmt", "rustfmt tool at version nightly-2024-07-16")
def has_rustfmt():
# We use Nightly's rustfmt due to current unstable config options.
return matchoutput(
......@@ -1134,7 +1134,7 @@
def has_rustfmt():
# We use Nightly's rustfmt due to current unstable config options.
return matchoutput(
'`rustup which --toolchain nightly-2021-11-02 rustfmt` --version',
'`rustup which --toolchain nightly-2024-07-16 rustfmt` --version',
b'rustfmt',
)
......
......@@ -5,7 +5,7 @@
$ cd "$TESTDIR"/..
Warning: Keep this in sync with hghave.py
$ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt)
$ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt)
$ for f in `testrepohg files 'glob:**/*.rs'` ; do
> $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
> done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment