Skip to content

check static addresses match in pyo3-ffi-check - #6421

Merged
bschoenmaeckers merged 5 commits into
PyO3:mainfrom
davidhewitt:ffi-checks-statics
Sep 16, 2026
Merged

bschoenmaeckers merged 5 commits into
PyO3:mainfrom
davidhewitt:ffi-checks-statics

Conversation

@davidhewitt

Copy link
Copy Markdown
Member

Followup to #6389, to also fix exported static items alongside functions.

Similar to that PR, I just check the addresses of the statics match, which at least catches all link errors.

Disclosure: as this was a fairly mechanical application of existing patterns from this codebase I had local AI produce the diff, however I have reviewed it and cleaned up somewhat; I'm happy with it.

@bschoenmaeckers
bschoenmaeckers added this pull request to the merge queue Sep 16, 2026
Merged via the queue into PyO3:main with commit cdd70b4 Sep 16, 2026
173 of 176 checks passed
davidhewitt added a commit that referenced this pull request Sep 17, 2026
* check static addresses match in `pyo3-ffi-check`

* newsfragments

* fix private symbols

* fmt

* fix windows-only pypy symbol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants