tree: a3db0640a546de7be959c97d3de95999af48e43e [path history] [tgz]
  1. src/
  2. BUILD.bazel
  3. README.md
tools/upstream_wrapper/README.md

upstream_wrapper

Wrap the binaries from the current toolchain so that they can be easily invoked with bazel run:

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 to include them in the users path with direnv.