diff options
author | scentini <rosica@google.com> | 2023-09-04 15:41:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 13:41:45 +0000 |
commit | 719461ac4da5a05ff0dfbab1917a0c3692bf6417 (patch) | |
tree | 53c4731863abf20cb0746772f06bcdf5798595d4 | |
parent | a2929be390ceff8955d1a8abdd9ebeaa55f49098 (diff) | |
download | bazelbuild-rules_rust-719461ac4da5a05ff0dfbab1917a0c3692bf6417.tar.gz |
Bump min Bazel version to 6.3 (#2150)
A future Bazel version will contain a breaking API change.
https://github.com/bazelbuild/rules_rust/pull/2072 is preparing the
`rules_rust` codebase for it, however it relies on Bazel API changes
present in `6.3.0` and not `6.0.0`. As per discussion there
https://github.com/bazelbuild/rules_rust/pull/2072#issuecomment-1653590672,
looks like maintainers are fine with bumping the minimum Bazel version
to `6.3.0`.
-rw-r--r-- | .bazelci/presubmit.yml | 4 | ||||
-rw-r--r-- | docs/index.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 2785141a..d5ce63c0 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -221,7 +221,7 @@ tasks: ubuntu1804: name: "Min Bazel Version" # If updating the minimum bazel version, please also update /docs/index.md - bazel: "6.0.0" + bazel: "6.3.0" platform: ubuntu1804 # Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version shell_commands: @@ -232,7 +232,7 @@ tasks: post_shell_commands: *coverage_validation_post_shell_commands ubuntu1804_with_aspects: name: "Min Bazel Version With Aspects" - bazel: "6.0.0" + bazel: "6.3.0" platform: ubuntu1804 # Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version shell_commands: diff --git a/docs/index.md b/docs/index.md index ab982657..e20d7094 100644 --- a/docs/index.md +++ b/docs/index.md @@ -93,7 +93,7 @@ Failure to do so will result in rules attempting to match a `stable` toolchain w ## Supported bazel versions -The oldest version of Bazel the `main` branch is tested against is `6.0.0`. Previous versions may still be functional in certain environments, but this is the minimum version we strive to fully support. +The oldest version of Bazel the `main` branch is tested against is `6.3.0`. Previous versions may still be functional in certain environments, but this is the minimum version we strive to fully support. We test these rules against the latest rolling releases of Bazel, and aim for compatibility with them, but prioritise stable releases over rolling releases where necessary. |