Mercurial > hg
view tests/test-check-rust-format.t @ 52170:1a8466fd904a
hg-core: add fncache module
For now it's only a super simple trait. It will be used for calling back into
Python soon, and later will be fleshed out into a full fncache.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 29 Jul 2024 20:28:42 +0200 |
parents | 48eb51494a7a |
children |
line wrap: on
line source
#require rustfmt test-repo $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. Warning: Keep this in sync with hghave.py $ RUSTFMT=$(rustup which --toolchain nightly-2024-07-16 rustfmt) $ for f in `testrepohg files 'glob:**/*.rs'` ; do > $RUSTFMT --check --edition=2021 --unstable-features --color=never $f > done