From 7802654ecfc7b658b33c1c0314268115cef9afa9 Mon Sep 17 00:00:00 2001 From: Neill Kapron Date: Tue, 12 Nov 2024 17:08:23 +0000 Subject: [PATCH] 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 --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) create mode 120000 rustfmt.toml 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