Switch from bazeliskrc to bazelversion (#4612)

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.
This commit is contained in:
Jon Ross-Perkins
2024-12-03 17:52:20 +00:00
committed by GitHub
parent 74dcd1fd05
commit 0c2ed1b14e
4 changed files with 4 additions and 22 deletions
+1
View File
@@ -0,0 +1 @@
7.3.0