Skip to content

Commit 0c023d0

Browse files
committed
Add comment that application build implies shared library build
1 parent 180b08c commit 0c023d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

peps/pep-0783.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The PyEmscripten Platform
105105
The specification of the ``pyemscripten_${YEAR}_${PATCH}`` platform includes:
106106

107107
* Which version of the Emscripten compiler is used
108-
* What libraries are statically linked to the binary
108+
* What libraries are statically linked to the application
109109
* What stack unwinding ABI is to be used
110110
* How the loader handles dependency lookup
111111
* That libraries cannot use ``-pthread``
@@ -122,6 +122,12 @@ plan to use each platform with.
122122
The PyEmscripten platforms are fully specified in
123123
`Pyodide's documentation on the PyEmscripten Platform <https://pyodide.org/en/stable/development/abi.html>`__.
124124

125+
To define the platform we need only indicate how the main application is
126+
compiled and linked. This implies how to build a compatible shared library.
127+
However, our documentation includes detailed instructions on how to build a
128+
compatible shared library because we assume most people will be building shared
129+
libraries.
130+
125131
The ``pyodide build`` tool knows how to create wheels that are compatible with the
126132
PyEmscripten platform. Unlike with manylinux wheels, there is no need for a
127133
Docker container to build ``pyemscripten`` wheels. All that is needed is a Linux

0 commit comments

Comments
 (0)