Age | Commit message (Collapse) | Author |
|
This matches the Fuchsia style. See https://fxbug.dev/340943530
for rationale.
I've also reformatted all Rust files under system/rust with this style
as there seemed to be some inconsistencies.
Fix: 396241824
Test: m com.android.btservices
Flag: EXEMPT refactor only
Change-Id: I74425bfbe98a402fa5f9fd5f1746a00b9767a321
|
|
Other AOSP repositories use a symlink back to
`soong/scripts/rustfmt.toml`, but this repositories needs to be
self-contained.
Test: comment change only
Bug: 229825251
Change-Id: Ia050733eaa2a4fe6aec2024b5c4fd5bb1d131327
|
|
With Floss, Flouride/GD is made available outside Android and it's
easier for non-Android development to use rustfmt without soong
dependency.
Bug: 221242765
Test: Call rustfmt on any rust file in packages/modules/Bluetooth
Change-Id: Ic883987500c8129e53e42de3b5250f2126d6f048
|
|
BUG: 196026708
Test: TH
Change-Id: Iafb67909688f0c026c4f3c243968128ec1f71e5f
|
|
This reverts commit f57514ffa9cd36bb838415e241695a966a82df94.
This change broke rustfmt being invoked directly.
Could not parse TOML: expected a table key, found a period at line
1 column 1
Test: Ran rustfmt, cargo-fmt and repo upload
Change-Id: I6caa143c49b88634ef04c7d1f822572737128521
|
|
Test: run rustfmt
Change-Id: I69b10b53cf339ea3d2769b1a524a82b777a0770d
|
|
Enable rustfmt repohook.
Test: repo upload
Change-Id: I9836672a755021c16b9f609cea147664f92bd6e5
|