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

C++: wrap generated DescriptorTable variable in extern "C" block #19258

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

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.

@copybara-service copybara-service bot force-pushed the test_696239471 branch 2 times, most recently from 2cc23b7 to d86e58b Compare November 14, 2024 18:50
@copybara-service copybara-service bot closed this Nov 14, 2024
@copybara-service copybara-service bot deleted the test_696239471 branch November 14, 2024 20:37
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.

0 participants