blob: 3b1c8975c6b857d8a540a853c190b7bbc8a67fd3 [file] [log] [blame] [view]
# upstream_wrapper
Wrap the binaries from the current toolchain so that
they can be easily invoked with `bazel run`:
```bash
bazel run @rules_rust//tools/upstream_wrapper:cargo
bazel run @rules_rust//tools/upstream_wrapper:cargo -- clippy
bazel run @rules_rust//tools/upstream_wrapper:cargo -- fmt
bazel run @rules_rust//tools/upstream_wrapper:rustc -- main.rs
bazel run @rules_rust//tools/upstream_wrapper:rustfmt
```
Alternatively, look at the [bazel_env example](../../examples/bazel_env/)
to include them in the users path with direnv.