.bazelversion for Rust examples is too accurate

Open
#620 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start with rust-examples/.bazelversion and README.md, then reproduce the build using Bazel 8.3.1 and the Debian-installed wrapper. Determine whether the version constraint can be made flexible; done means newer compatible Bazel versions are supported or README.md clearly documents the USE_BAZEL_VERSION workaround.

Written by the indexing model from the issue text.

Description

I am on Debian 12 with Bazel 8.3.1 installed according to these instructions.

Currently rust-examples/.bazelversion contains "8.1.1". I checked the examples - it builds with 8.3.1.

It would be good to allow builds for versions >= 8.1.1, not exactly 8.1.1. I tried '>=8.1.1' but the wrapper script installed on Debian seems to not support the syntax with modifiers.

Is there a way to specify the version constrain more flexibly? Maybe README.md should tell about USE_BAZEL_VERSION env var for new users to move along when they can not install exactly 8.1.1?

Dominant language
Starlark
Stars
957
Forks
578
Avg merge
2d 10h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/examples

All issues in bazelbuild/examples

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.