##// END OF EJS Templates
rust: update the minimum version of Rust...
rust: update the minimum version of Rust Debian Bullseye has just been released, and it carries `rustc 1.48.0`. This actually implies a regression that we can't really do anything about in `rhg`. See https://github.com/rust-lang/rust/issues/88825. In short, closed (or bad) standard file descriptors are reopened silently with no way of telling by the Rust runtime before `main` is executed. This means that closed fds are not forwarded to the subprocess we run in case of fallback. This is a bit sad, but probably not something worth worrying too much about. Differential Revision: https://phab.mercurial-scm.org/D11341

File last commit:

r46601:d42809b6 default
r49117:4ee6b8b4 default
Show More
test-check-rust-format.t
9 lines | 290 B | text/troff | Tads3Lexer
/ tests / test-check-rust-format.t
Gregory Szorc
tests: add test for Rust formatting...
r44271 #require rustfmt test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
rust-format: pin the formatted to a specific nightly version...
r46601 $ RUSTFMT=$(rustup which --toolchain nightly-2020-10-04 rustfmt)
Gregory Szorc
tests: add test for Rust formatting...
r44271 $ for f in `testrepohg files 'glob:**/*.rs'` ; do
Yuya Nishihara
test-check-rust-format: specify --edition=2018...
r45226 > $RUSTFMT --check --edition=2018 --unstable-features --color=never $f
Gregory Szorc
tests: add test for Rust formatting...
r44271 > done