-
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.
C++: wrap generated DescriptorTable variable in extern "C" block
To implement extensions in Rust, we are going to need a symbol we can depend on to force-link the C++ extension registration code. The `descriptor_table_xxxxx` variable seems ideal for this: it already exists and is not public-facing, so we can reuse it without increasing code size. This CL marks it `extern "C"` to ensure that we can safely access it from Rust. PiperOrigin-RevId: 696615312
- Loading branch information
1 parent
6ceef1c
commit 37b10b8
Showing
7 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs
This file was deleted.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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