gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19 (#145038)
This undoes a change made as a part of PR 137470, for compatibility with EMSDK 4.0.19. It adds `emscripten_trampoline` field in `pycore_runtime_structs.h` and initializes it from JS initialization code with the wasm-gc based trampoline if possible. Otherwise we fall back to the JS trampoline.
H
Hood Chatham committed
43fdb7037e76c18d9545ac11b2f1e3e398152ada
Parent: 7eb00ad
Committed by GitHub <noreply@github.com>
on 2/25/2026, 10:21:05 PM