Fix rustdoc path in rustdoc_test with --nolegacy_external_runfiles option (#374)

Using File.path breaks builds with --nolegacy_external_runfiles option
as the gnerated script has use `external/rust/bin/rustdoc` that
referrers to legacy runfiles and File.short_path uses `../rust/bin/rustdoc`
1 file changed
tree: 73fe8482731f6aae4622dc2604e3e1da45f3411b
  1. .bazelci/
  2. bindgen/
  3. cargo/
  4. docs/
  5. examples/
  6. proto/
  7. rust/
  8. test/
  9. tools/
  10. util/
  11. wasm_bindgen/
  12. .gitignore
  13. AUTHORS
  14. BUILD
  15. CODEOWNERS
  16. CONTRIBUTING.md
  17. CONTRIBUTORS
  18. libc.BUILD
  19. LICENSE.txt
  20. package-lock.json
  21. package.json
  22. README.md
  23. renovate.json
  24. WORKSPACE
  25. workspace.bzl
README.md

Rust Rules

  • Postsubmit Build status
  • Postsubmit + Current Bazel Incompatible Flags Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Please refer to the full documentation.