Patchwork D7911: examples: refer to nightly rustfmt in Windows-compatible way

login
register
mail settings
Submitter phabricator
Date Jan. 17, 2020, 3:13 p.m.
Message ID <6423ccfaabc05a322d476aae9bdb86ec@localhost.localdomain>
Download mbox | patch
Permalink /patch/44480/
State Not Applicable
Headers show

Comments

phabricator - Jan. 17, 2020, 3:13 p.m.
Closed by commit rHG2077ffede71f: examples: refer to nightly rustfmt in Windows-compatible way (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7911?vs=19376&id=19408

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7911/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7911

AFFECTED FILES
  contrib/examples/fix.hgrc

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -2,7 +2,7 @@ 
 clang-format:command = clang-format --style file
 clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"
 
-rustfmt:command = $(rustup which --toolchain nightly rustfmt)
+rustfmt:command = rustfmt +nightly
 rustfmt:pattern = set:**.rs
 
 black:command = black --config=black.toml -