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

Rust: move proxy implementations of AssociatedMiniTable into the runtime #19204

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

Rust: move proxy implementations of AssociatedMiniTable into the runtime

We are currently generating separate implementations of the
AssociatedMiniTable trait for owned messages, view proxies, and mutable
proxies. I don't think this is really necessary, though, because once we have
an implementation for one of these, we can derive it for the other two.

This CL deletes the proxy implementations from the generated code and adds a
blanket implementation to replace them. This is not super important, but it
seems nice to reduce our reliance on generated code a little bit.

We are currently generating separate implementations of the
`AssociatedMiniTable` trait for owned messages, view proxies, and mutable
proxies. I don't think this is really necessary, though, because once we have
an implementation for one of these, we can derive it for the other two.

This CL deletes the proxy implementations from the generated code and adds a
blanket implementation to replace them. This is not super important, but it
seems nice to reduce our reliance on generated code a little bit.

PiperOrigin-RevId: 694680222
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