meta: fix rust-analyzer support for aya-bpf

Ironically, we have the same issue here as in https://github.com/aya-rs/aya-template/pull/13/.
This patch fixes this by explicitly defining the project layout for both vscode and neovim.
pull/79/head
William Findlay 3 years ago
parent 99f6f9e14d
commit e115b72245
No known key found for this signature in database
GPG Key ID: 7162B44E9E560373

1
.gitignore vendored

@ -1,4 +1,3 @@
Cargo.lock Cargo.lock
target/ target/
.vscode
libbpf/ libbpf/

@ -0,0 +1,3 @@
{
"rust-analyzer.linkedProjects": ["Cargo.toml", "bpf/Cargo.toml"]
}

@ -0,0 +1,3 @@
{
"rust-analyzer.linkedProjects": ["Cargo.toml", "bpf/Cargo.toml"]
}
Loading…
Cancel
Save