From 5cba3231fcfcae0acb40d7b398ec4911242a36b9 Mon Sep 17 00:00:00 2001 From: XuanqiLi Date: Tue, 27 Aug 2024 01:45:32 -0700 Subject: [PATCH] Doc: update outdated parameter `output_diagnostics` --- docs/rust_analyzer.md | 2 +- docs/rust_analyzer.vm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.