Skip to content

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

Merged
JukkaL merged 1 commit into
masterfrom
mypyc-export-table
Jul 28, 2025
Merged

[mypyc] Only generate an export table if using separate compilation#19521
JukkaL merged 1 commit into
masterfrom
mypyc-export-table

Conversation

@JukkaL

@JukkaL JukkaL commented Jul 28, 2025

Copy link
Copy Markdown
Collaborator

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