Skip to content

gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19#145038

Open
hoodmane wants to merge 1 commit intopython:mainfrom
hoodmane:emscripten-trampoline-pointer
Open

gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19#145038
hoodmane wants to merge 1 commit intopython:mainfrom
hoodmane:emscripten-trampoline-pointer

Conversation

@hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Feb 20, 2026

This undoes a change made as a part of #137470. We add an emscripten_trampoline field in pycore_runtime_structs.h and initialize it from JS initialization code with the wasm-gc based trampoline if possible. Otherwise we fall back to the JS trampoline.

cc @freakboy3742 @ryanking13

This undoes a change made as a part of PR 137470. We add an `emscripten_trampoline`
field in `pycore_runtime_structs.h` and initialize it from JS initialization code with
the wasm-gc based trampoline if possible. Otherwise we fall back to the JS trampoline.
@hoodmane hoodmane force-pushed the emscripten-trampoline-pointer branch from 200d8fe to 526e102 Compare February 20, 2026 15:39
@hoodmane hoodmane added OS-emscripten interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review interpreter-core (Objects, Python, Grammar, and Parser dirs) OS-emscripten skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments