gh-156780: Emscripten: drop the trampoline's dependence on exports · python/cpython@0c9e930 · GitHub
Skip to content

Commit 0c9e930

Browse files
clementperonclaude
andcommitted
gh-156780: Emscripten: drop the trampoline's dependence on exports
The trampoline exports _PyRuntime's address itself and reuses a placeholder's table slot, so libpython no longer needs -sEXPORTED_FUNCTIONS=__PyRuntime or a growable function table. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 465b3b8 commit 0c9e930

3 files changed

Lines changed: 22 additions & 5 deletions

File tree

Python/emscripten_trampoline.c

Lines changed: 20 additions & 3 deletions

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)