• Home
Name Date Size #Lines LOC

..--

src/04-Jul-2025-6050

BUILD.bazelD04-Jul-20251 KiB3430

README.mdD04-Jul-2025543 1612

README.md

1# upstream_wrapper
2
3Wrap the binaries from the current toolchain so that
4they can be easily invoked with `bazel run`:
5
6```bash
7bazel run @rules_rust//tools/upstream_wrapper:cargo
8bazel run @rules_rust//tools/upstream_wrapper:cargo -- clippy
9bazel run @rules_rust//tools/upstream_wrapper:cargo -- fmt
10bazel run @rules_rust//tools/upstream_wrapper:rustc -- main.rs
11bazel run @rules_rust//tools/upstream_wrapper:rustfmt
12```
13
14Alternatively, look at the [bazel_env example](../../examples/bazel_env/)
15to include them in the users path with direnv.
16