Skip to content

[mypyc] Only generate an export table if using separate compilation #19521

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

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 28, 2025

When not using separate compilation, the export table is not used. Also, there's actually no simple and safe way to use it without separate compilation, since we'd have to first ensure that the structure of the export table is compatible, as otherwise the order of fields or the types of the fields could be incompatible and cause segfaults and other fun stuff.

When not using separate compilation, the export table is not
used. Also, there's actually no simple and safe way to use it without
separate compilation, since we'd have to first ensure that the
structure of the export table is compatible, as otherwise the order of
fields or the types of the fields could be incompatible and cause
segfaults and other fun stuff.
@JukkaL JukkaL merged commit 3a2b788 into master Jul 28, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-export-table branch July 28, 2025 13:18
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.

2 participants