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>
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 120000
index 0000000..ee92d9e
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1 @@
+../../build/soong/scripts/rustfmt.toml
\ No newline at end of file