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

Commit 0a2c8f4

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 9bd670c commit 0a2c8f4

3 files changed

Lines changed: 20 additions & 5 deletions

File tree

Python/emscripten_trampoline.c

Lines changed: 18 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)