From 3971dcfe10b94e901a224b5328a9dafd1e2ecc08 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 31 Jul 2019 17:11:37 -0400 Subject: Use system rustfmt instead of fixed binary (#2701) --- tools/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/format.py') diff --git a/tools/format.py b/tools/format.py index 543cd4c07..c7465516a 100755 --- a/tools/format.py +++ b/tools/format.py @@ -61,7 +61,7 @@ def clang_format(): def rustfmt(): print "rustfmt" qrun([ - "third_party/rustfmt/" + platform() + "/rustfmt", + "rustfmt", "--config-path", rustfmt_config, ] + find_exts(["cli", "core", "tools"], [".rs"])) -- cgit v1.2.3