rivosinc / salus

Risc-V hypervisor for TEE development
92 stars 25 forks source link

build: Enable Rust Analyzer support #277

Closed rbradford closed 1 year ago

rbradford commented 1 year ago

The metadata can be generated with:

bazel run @rules_rust//tools/rust_analyzer:gen_rust_project

Users of VScode can automate this with:

https://bazelbuild.github.io/rules_rust/rust_analyzer.html#vscode

Signed-off-by: Rob Bradford rbradford@rivosinc.com

rbradford commented 1 year ago

I chose not to include the .vscode/ file in the tree, but am happy to do that if folks would like to have it rather than having their own local version.