Add `use_libtest_harness` attribute to rust_test (#754)

* Add `use_libtest_harness` attribute to rust_test

When set to False, rustc will not include libtest for the test,
therefore the test author is responsible for implementing `main`
function and running the tests.
8 files changed
tree: 13a1f0bb5fc1467e9ea20f0bddeebd5286b7f3d5
  1. .bazelci/
  2. .github/
  3. bindgen/
  4. cargo/
  5. crate_universe/
  6. docs/
  7. examples/
  8. proto/
  9. rust/
  10. test/
  11. tools/
  12. util/
  13. wasm_bindgen/
  14. .bazelignore
  15. .gitignore
  16. ARCHITECTURE.md
  17. AUTHORS
  18. BUILD.bazel
  19. CODEOWNERS
  20. CONTRIBUTING.md
  21. CONTRIBUTORS
  22. LICENSE.txt
  23. README.md
  24. WORKSPACE.bazel
  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.

Community

Please refer to the full documentation.