[Updated] D12180: hghave: update rustfmt criterion
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Tue Feb 15 15:17:56 UTC 2022
Closed by commit rHG090346b095fb: hghave: update rustfmt criterion (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12180?vs=32179&id=32212
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12180/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12180
AFFECTED FILES
tests/hghave.py
tests/test-check-rust-format.t
CHANGE DETAILS
diff --git a/tests/test-check-rust-format.t b/tests/test-check-rust-format.t
--- a/tests/test-check-rust-format.t
+++ b/tests/test-check-rust-format.t
@@ -3,6 +3,8 @@
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
+
+Warning: Keep this in sync with hghave.py
$ RUSTFMT=$(rustup which --toolchain nightly-2021-11-02 rustfmt)
$ for f in `testrepohg files 'glob:**/*.rs'` ; do
> $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1121,11 +1121,11 @@
return version and sv(_bytes2sys(version.group(0))) >= sv('2019.10.17')
- at check("rustfmt", "rustfmt tool at version nightly-2020-10-04")
+ at check("rustfmt", "rustfmt tool at version nightly-2021-11-02")
def has_rustfmt():
# We use Nightly's rustfmt due to current unstable config options.
return matchoutput(
- '`rustup which --toolchain nightly-2020-10-04 rustfmt` --version',
+ '`rustup which --toolchain nightly-2021-11-02 rustfmt` --version',
b'rustfmt',
)
To: Alphare, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220215/6b8cc0f5/attachment-0002.html>
More information about the Mercurial-patches
mailing list