Skip to content

Commit d5485a9

Browse files
committed
Regenerate documentation
Change-Id: I161ba9be6155901535833c599f0cf3b11fe80514
1 parent fb41290 commit d5485a9

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/rust_analyzer.md

+10
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ to ensure a `rust-project.json` file is created and up to date when the editor i
7878
}
7979
```
8080

81+
#### Alternative vscode option (prototype)
82+
83+
Add the following to your bazelrc:
84+
```
85+
build --@rules_rust//:output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output
86+
```
87+
88+
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.
89+
90+
8191

8292
<a id="rust_analyzer_toolchain"></a>
8393

docs/rust_analyzer.vm

+10
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,14 @@ to ensure a `rust-project.json` file is created and up to date when the editor i
7171
]
7272
}
7373
```
74+
75+
#### Alternative vscode option (prototype)
76+
77+
Add the following to your bazelrc:
78+
```
79+
build --@rules_rust//:output_diagnostics=true --output_groups=+rust_lib_rustc_output,+rust_metadata_rustc_output
80+
```
81+
82+
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.
83+
7484
]]#

0 commit comments

Comments
 (0)