forked from bazelbuild/rules_rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document upstream tooling wrappers (bazelbuild#2890)
- Loading branch information
1 parent
aa3761f
commit 6e97b2f
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Upstream Tooling | ||
|
||
rules_rust manages versions of things like rustc. If you want to manually run upstream tooling configured at the versions, plugins and such that rules_rust has configured, rules_rust exposes these as targets in `@rules_rust//tools/upstream_wrapper`: | ||
|
||
```console | ||
% bazel query @rules_rust//tools/upstream_wrapper | ||
@rules_rust//tools/upstream_wrapper:cargo | ||
@rules_rust//tools/upstream_wrapper:cargo_clippy | ||
@rules_rust//tools/upstream_wrapper:rustc | ||
@rules_rust//tools/upstream_wrapper:rustfmt | ||
``` | ||
|
||
You can run them via `bazel run`, e.g. `bazel run @rules_rust//tools/upstream_wrapper:cargo -- check`. |