Mercurial > hg-stable
changeset 51794:c8188b10cf43
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.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 29 Jul 2024 10:04:00 +0200 |
parents | 76c44ae8862e |
children | 48eb51494a7a |
files | tests/hghave.py tests/test-check-rust-format.t |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Mon Jul 29 10:06:28 2024 +0200 +++ b/tests/hghave.py Mon Jul 29 10:04:00 2024 +0200 @@ -1130,11 +1130,11 @@ 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( - '`rustup which --toolchain nightly-2021-11-02 rustfmt` --version', + '`rustup which --toolchain nightly-2024-07-16 rustfmt` --version', b'rustfmt', )
--- a/tests/test-check-rust-format.t Mon Jul 29 10:06:28 2024 +0200 +++ b/tests/test-check-rust-format.t Mon Jul 29 10:04:00 2024 +0200 @@ -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