Skip to content

buf protoc should expose a @rules_proto//proto:toolchain_type #71

Open

Description

@alexeagle

Under bazel --incompatible_enable_proto_toolchain_resolution flag, you could register buf CLI as a replacement of protoc

See bazelbuild/rules_proto#213

Activity

  1. srikrsna-buf commented on May 8, 2025

    @srikrsna-buf
    Contributor

    For this to work, the buf cli has to be a drop in replacement for protoc. It is not so today. Even if it were to be the case, there is no advantage to users as it will produce the same result as protoc.

    I'll keep this issue open, to track this to see if we can provide more value by providing buf as a replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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