summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2025-01-12 23:09:39 (GMT)
committerGitHub <noreply@github.com>2025-01-12 23:09:39 (GMT)
commitd0ecbdd838034c1f061e9b4e9b54a900141458c3 (patch)
treedd69daafbb11dce243db45d121be05dace28cf77 /Misc
parent5e65a1acc0b630397f1d190aed279114e6e99612 (diff)
downloadcpython-d0ecbdd838034c1f061e9b4e9b54a900141458c3.zip
cpython-d0ecbdd838034c1f061e9b4e9b54a900141458c3.tar.gz
cpython-d0ecbdd838034c1f061e9b4e9b54a900141458c3.tar.bz2
gh-128627: Emscripten: Use wasm-gc based call adaptor if available (#128628)
Replaces the trampoline mechanism in Emscripten with an implementation that uses a recently added feature of wasm-gc instead of JS type reflection, when that feature is available.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2025-01-09-19-44-00.gh-issue-128627.mHzsEd.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2025-01-09-19-44-00.gh-issue-128627.mHzsEd.rst b/Misc/NEWS.d/next/Build/2025-01-09-19-44-00.gh-issue-128627.mHzsEd.rst
new file mode 100644
index 0000000..a8c80ab
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2025-01-09-19-44-00.gh-issue-128627.mHzsEd.rst
@@ -0,0 +1,3 @@
+For Emscripten builds the function pointer cast call trampoline now uses the
+wasm-gc ref.test instruction if it's available instead of Wasm JS type
+reflection.