-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up of the the way
import public
is handled in Rust generation.
The way it is implemented before this CL is that the 'entry point' file goes through the public imports of all .proto files in the current crate and re-exports them (and applies that transitively). Instead, this lets each .proto->.rs file handle the public imports for that .proto file, and the 'primary entry point' behavior gets any public imports automatically. PiperOrigin-RevId: 702044709
- Loading branch information
1 parent
df00265
commit 7c3b8b7
Showing
1 changed file
with
14 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters