Skip to content

build: use pre-built protoc and/or functionality from toolchains_protoc #76851

@dt

Description

@dt

protoc is required for the build and it may need to be re-compiled surprisingly frequently. Updating environment variables and specifically PATH can require re-compilation. See bazelbuild/bazel#7095.

Use a pre-built version of protoc and/or use the functionality from toolchains_protoc. A replacement will have to support rules_go as well as protoc-gen-doc (used in docs/generated/http/BUILD.bazel) and protoc-gen-es (used in pkg/ui/workspaces/crdb-api-client/BUILD.bazel).

Epic CRDB-17171
Jira issue: CRDB-13302

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-systemC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-inf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions