Skip to content

Commit

Permalink
Regenerate documentation
Browse files Browse the repository at this point in the history
Change-Id: I161ba9be6155901535833c599f0cf3b11fe80514
  • Loading branch information
matts1 committed Dec 4, 2023
1 parent fb41290 commit d5485a9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/rust_analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ to ensure a `rust-project.json` file is created and up to date when the editor i
}
```

#### Alternative vscode option (prototype)

Add the following to your bazelrc:
```
build --@rules_rust//: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.



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

Expand Down
10 changes: 10 additions & 0 deletions docs/rust_analyzer.vm
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,14 @@ to ensure a `rust-project.json` file is created and up to date when the editor i
]
}
```

#### Alternative vscode option (prototype)

Add the following to your bazelrc:
```
build --@rules_rust//: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.

]]#

0 comments on commit d5485a9

Please sign in to comment.