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

Make our Python source wheel use the version script to restruct symbol visibility. #17207

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

Make our Python source wheel use the version script to restruct symbol visibility.

We generally want our extension module to hide all symbols except a single entry point, PyInit__message(). We accomplish this through a version_script.lds, which instructs the linker to hide all symbols except our single entry point.

Currently, only our Bazel-based build is using version_script.lds. This CL makes our Python source package also use version_script.lds, so that it can produce binary wheel that are more similar to the Bazel-built ones that we release.

…l visibility.

We generally want our extension module to hide all symbols except a single entry point, `PyInit__message()`.  We accomplish this through a `version_script.lds`, which instructs the linker to hide all symbols except our single entry point.

Currently, only our Bazel-based build is using `version_script.lds`.  This CL makes our Python source package also use `version_script.lds`, so that it can produce binary wheel that are more similar to the Bazel-built ones that we release.

PiperOrigin-RevId: 645445353
Copy link

Auto-closing Copybara pull request

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