Skip to content

Automatically generate tag number constants for descriptor.proto#690

Open
mcy wants to merge 4 commits intomainfrom
mcy/desc-tags
Open

Automatically generate tag number constants for descriptor.proto#690
mcy wants to merge 4 commits intomainfrom
mcy/desc-tags

Conversation

@mcy
Copy link
Member

@mcy mcy commented Mar 20, 2026

The ABI of descriptor.proto is used in many places in the compiler. This is currently implemented using a hand-written file containing various tag numbers. I have replaced it with a generated file, which should make it less troublesome to keep things in sync.

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