From 44c1f66b7ea932bf2e649969992b897c8996323d Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Sat, 5 Oct 2024 17:32:43 +0800 Subject: [PATCH] ebpf: merge rust-analyzer settings Signed-off-by: Xiaobo Liu --- {{project-name}}-ebpf/.cargo/rust-analyzer.toml | 3 +++ {{project-name}}-ebpf/.vim/coc-settings.json | 4 ---- {{project-name}}-ebpf/.vscode/settings.json | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 {{project-name}}-ebpf/.cargo/rust-analyzer.toml delete mode 100644 {{project-name}}-ebpf/.vim/coc-settings.json delete mode 100644 {{project-name}}-ebpf/.vscode/settings.json diff --git a/{{project-name}}-ebpf/.cargo/rust-analyzer.toml b/{{project-name}}-ebpf/.cargo/rust-analyzer.toml new file mode 100644 index 0000000..9855618 --- /dev/null +++ b/{{project-name}}-ebpf/.cargo/rust-analyzer.toml @@ -0,0 +1,3 @@ +[rust-analyzer] +cargo.target = "bpfel-unknown-none" +checkOnSave.allTargets = false diff --git a/{{project-name}}-ebpf/.vim/coc-settings.json b/{{project-name}}-ebpf/.vim/coc-settings.json deleted file mode 100644 index e2211a6..0000000 --- a/{{project-name}}-ebpf/.vim/coc-settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "rust-analyzer.cargo.target": "bpfel-unknown-none", - "rust-analyzer.checkOnSave.allTargets": false -} diff --git a/{{project-name}}-ebpf/.vscode/settings.json b/{{project-name}}-ebpf/.vscode/settings.json deleted file mode 100644 index e2211a6..0000000 --- a/{{project-name}}-ebpf/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "rust-analyzer.cargo.target": "bpfel-unknown-none", - "rust-analyzer.checkOnSave.allTargets": false -}