Skip to content

Support using precompiled protoc binaries #2902

@rmohr

Description

@rmohr

What version of rules_go are you using?

v0.27

What version of gazelle are you using?

v0.23

What version of Bazel are you using?

3.7.2

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

Any other potentially useful information about your toolchain?

What did you do?

When switching locally branches in a project which rules_go we spend quite some time recompiling protoc over and over.

What did you expect to see?

It would be great if rules_go could work with precompiled protoc versions, like described in bazelbuild/rules_proto#36 and for example implemented at bazel-contrib/rules_scala#1142 for the scala rules.

What did you see instead?

protoc gets compiled every time we switch a branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions