BpfLoader-rs: add rustfmt.toml symlink

Add a symlink to the Android standard rustfmt.toml config file for ease
of use when formatting new commits. Per go/rust_formatter, this is the
recommended approach.

To run the formatter:

rustfmt --config-path rustfmt.toml loader/bpfloader.rs

Bug: 359646531
Test: Manual
Change-Id: I155e7b859bc86124cf448f91c1da232892c75049
Signed-off-by: Neill Kapron <nkapron@google.com>
This commit is contained in:
Neill Kapron 2024-11-12 17:08:23 +00:00
commit 7802654ecf

1
rustfmt.toml Symbolic link
View file

@ -0,0 +1 @@
../../build/soong/scripts/rustfmt.toml