Add a new presubmit environment for bzlmod (#2309)

Add an environment which builds without a workspace file.

This will allow us to verify that targets such as cargo_bazel can build
with bzlmod. This is mainly useful to ensure that your dependencies are
specified in MODULE.bazel, rather than WORKSPACE. At the moment, I only
specify a single target, to verify that it's working. As we start
supporting additional targets, entries will be added here to prevent
regressions.
1 file changed
tree: 4498aa6334c46c6ca259046b9de618e421adb52f
  1. .bazelci/
  2. .bcr/
  3. .github/
  4. bindgen/
  5. cargo/
  6. crate_universe/
  7. docs/
  8. examples/
  9. ffi/
  10. proto/
  11. rust/
  12. test/
  13. tools/
  14. util/
  15. wasm_bindgen/
  16. .bazelignore
  17. .bazelrc
  18. .clang-format
  19. .gitattributes
  20. .gitignore
  21. .prettierrc.toml
  22. .rustfmt.toml
  23. ARCHITECTURE.md
  24. AUTHORS
  25. BUILD.bazel
  26. CODEOWNERS
  27. COMPATIBILITY.md
  28. CONTRIBUTING.md
  29. CONTRIBUTORS
  30. LICENSE.txt
  31. MODULE.bazel
  32. README.md
  33. version.bzl
  34. WORKSPACE.bazel
README.md

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Community

General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.

Documentation

Please refer to the full documentation.