-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure when compiling with file_descriptor_set #59
Comments
Wondering if this is related. |
Thanks for the report and the bisect to find the introducing commit. I'll take a further look here over the weekend. Is there a public set of protos that I can use to reproduce this? (perhaps the Envoy Service protobuf you mentioned works as a repro?) |
Yes envoy service proto work as a repro. See https://github.com/gwik/envoy-prost-tonic git clone [email protected]:gwik/envoy-prost-tonic
make buf_gen Failure: plugin prost: envoy.service.auth.v2alpha.rs: does not exist
make: *** [Makefile:6: buf_gen] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a failure compiling some protos with buf:
I'm using prost plugin compiled from main (44d3fc3).
The failure happens because the prost code generation might omit empty files but the
file_descriptor_set
option makes it needed. Removingfile_descriptor_set
makes it work.The problem starts with commit 038cd34 when
prost-build
crate was upgraded.I have a draft PR that fixes the issue, but I don't think it should be merged as is:
34c2ac3
The text was updated successfully, but these errors were encountered: