Bazel RBE with CAS server implementation in Rust. The free and open source cache and remote execution service, prioritizing stability and speed for the people that need it.
rust-analyzer can parse Cargo.toml files or rust-project.json files to
generate context about the projects it's run on. rust-project.json files
are a format intended to be generated by build tools other than Cargo,
such as Bazel. With this setup we can tell rust-analyzer to build the
project with Bazel instead of Cargo.
Type of change
Please delete options that aren't relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
N/A
Checklist
[x] Updated documentation if needed
[ ] Tests added/amended
[x] bazel test //... passes locally
[x] PR is contained in a single commit, using git amend see some docs
Description
rust-analyzer can parse Cargo.toml files or rust-project.json files to generate context about the projects it's run on. rust-project.json files are a format intended to be generated by build tools other than Cargo, such as Bazel. With this setup we can tell rust-analyzer to build the project with Bazel instead of Cargo.
Type of change
Please delete options that aren't relevant.
How Has This Been Tested?
N/A
Checklist
bazel test //...
passes locallygit amend
see some docsThis change is