Skip to content
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

Fix rust packages #13

Merged
merged 5 commits into from
Aug 26, 2024
Merged

Fix rust packages #13

merged 5 commits into from
Aug 26, 2024

Conversation

markstory
Copy link
Member

  • Fix the issue with generated options module that doesn't include all of the structs.
  • Fix non v1 module names being generated incorrectly.

getsentry-bot added 5 commits August 26, 2024 12:53
I was having problems with tonic_build not handling protobuf modules
that are composed of multiple input files. Only the last file would be
retained resulting in incorrectly generated rust bindings.

Using prost_build works better, but doesn't generate any gRPC stubs.
I figured out that tonic_build also needs all the files as a single
compile call to generate files correctly.
@markstory markstory merged commit 6c62651 into main Aug 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant