Skip to content

Commit 172848d

Browse files
committed
Remove Emscripten ABI compatibility section too
1 parent 5d207a6 commit 172848d

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

peps/pep-0776.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -123,30 +123,6 @@ Because of these limitations, Pyodide standardizes a no-pthreads build of
123123
Python. If there is sufficient demand, a pthreads build with no dynamic loader
124124
could be added later.
125125

126-
Emscripten ABI Compatibility
127-
----------------------------
128-
129-
The Emscripten compiler has no ABI stability guarantees between versions. Many
130-
Emscripten updates are ABI compatible by chance, and the Rust Emscripten target
131-
behaves as if the ABI were stable with only `occasional negative consequences
132-
<https://github.com/rust-lang/rust/issues/131467>`__.
133-
134-
There are several linker flags that adjust the Emscripten ABI, so Python
135-
packages built to run with Emscripten must make sure to match the ABI-sensitive
136-
linker flags used to compile the interpreter to avoid load-time or run-time
137-
errors. The Emscripten compiler continuously fixes bugs and adds support for new
138-
web platform features. Thus, there is significant benefit to being able to
139-
update the ABI.
140-
141-
In order to balance the ABI stability needs of package maintainers with the ABI
142-
flexibility to allow the platform to move forward, Pyodide plans to adopt a new
143-
ABI for each feature release of Python.
144-
145-
The Pyodide team also coordinates the ABI flags that Pyodide uses with the
146-
Emscripten ABI that Rust supports in order to ensure that we have support for
147-
the many popular Rust packages. Historically, most of the work for this has
148-
been related to unwinding ABIs. See for instance `this Rust Major Change
149-
Proposal <https://github.com/rust-lang/compiler-team/issues/801>`__.
150126

151127
Development Tools
152128
-----------------

0 commit comments

Comments
 (0)