mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:30:14 +01:00
The only documentation I can find for `.bazelversion` is in https://github.com/bazelbuild/bazelisk/blob/master/README.md. However, `bazel` will error out if it doesn't match the `.bazelversion`. For example: ``` ╚╡/usr/bin/bazel build :all ERROR: The project you're trying to build requires Bazel 7.3.0 (specified in [elided]/carbon-lang/.bazelversion), but it wasn't found in /usr/bin. ``` Switching to this because the `MODULE.bazel` requires tighter version pinning in order to avoid churn, and this should help catch mistakes early. In `MODULE.bazel`, demote mention of the version issue because it should only really occur now when the version is being deliberately changed, so the connection should be more apparent.
2 lines
6 B
Plaintext
2 lines
6 B
Plaintext
7.3.0
|