Turn off formatting in //third_party/rust
The formatters are quite stubborn and still make a few changes, but this
turns off most of their impact, and the rest would be ignored on upload
if you encountered it. Hopefully they improve at doing nothing in the
future.
R=lukasza@chromium.org
Bug: 1069271
Change-Id: If45a33e97e405f7b64ee8800194f132af720b874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3257151
Commit-Queue: danakj <danakj@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Auto-Submit: danakj <danakj@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937589}
This commit is contained in:
@ -16,3 +16,8 @@ newline_style = "Unix"
|
||||
# * https://github.com/rust-lang/rustfmt/issues/3119
|
||||
# * https://github.com/rust-lang/rustfmt/issues/3120
|
||||
use_small_heuristics = "Max"
|
||||
|
||||
# Third party code is formatted upstream.
|
||||
ignore = [
|
||||
"third_party/rust",
|
||||
]
|
||||
|
1
third_party/rust/.clang-format
vendored
Normal file
1
third_party/rust/.clang-format
vendored
Normal file
@ -0,0 +1 @@
|
||||
DisableFormat: true
|
Reference in New Issue
Block a user