dev-docs: document new location of Go toolchain version

This commit is contained in:
Malte Poll 2024-05-22 10:49:00 +02:00
parent 2c8a16294e
commit f57698ac3f

View File

@ -4,12 +4,11 @@
## Steps ## Steps
Replace "1.xx.x" with the new version in [WORKSPACE.bzlmod](/WORKSPACE.bzlmod): Replace "1.xx.x" with the new version in [MODULE.bazel](/MODULE.bazel):
```starlark ```starlark
load("@io_bazel_rules_go//go:deps.bzl", "go_download_sdk", "go_register_toolchains", "go_rules_dependencies") go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(
go_download_sdk(
name = "go_sdk", name = "go_sdk",
patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"], patches = ["//3rdparty/bazel/org_golang:go_tls_max_handshake_size.patch"],
version = "1.xx.x", <--- Replace this one version = "1.xx.x", <--- Replace this one