diff --git a/docs/rust_analyzer.md b/docs/rust_analyzer.md index 38b3d7f61f..208ca6e4b6 100644 --- a/docs/rust_analyzer.md +++ b/docs/rust_analyzer.md @@ -82,7 +82,7 @@ to ensure a `rust-project.json` file is created and up to date when the editor i Add the following to your bazelrc: ``` -build --@rules_rust//:output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output +build --@rules_rust//:rustc_output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output ``` Then you can use a prototype [rust-analyzer plugin](https://marketplace.visualstudio.com/items?itemName=MattStark.bazel-rust-analyzer) that automatically collects the outputs whenever you recompile. diff --git a/docs/rust_analyzer.vm b/docs/rust_analyzer.vm index 21f1f715d5..28ec97cfef 100644 --- a/docs/rust_analyzer.vm +++ b/docs/rust_analyzer.vm @@ -76,7 +76,7 @@ to ensure a `rust-project.json` file is created and up to date when the editor i Add the following to your bazelrc: ``` -build --@rules_rust//:output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output +build --@rules_rust//:rustc_output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output ``` Then you can use a prototype [rust-analyzer plugin](https://marketplace.visualstudio.com/items?itemName=MattStark.bazel-rust-analyzer) that automatically collects the outputs whenever you recompile.