Skip to content

Commit e2e3d96

Browse files
juntyrhoodmane
andauthored
Improve wording of Emscripten's design goal
Co-authored-by: Hood Chatham <[email protected]>
1 parent 9a246bc commit e2e3d96

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/doc/rustc/src/platform-support/wasm32-unknown-emscripten.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
The `wasm32-unknown-emscripten` target is a WebAssembly compilation target which
66
uses the [Emscripten](https://emscripten.org/) compiler toolchain. Emscripten is
7-
a C/C++ toolchain used for running C/C++ code on the web. It provides POSIX `libc`
8-
and `libstd` implementations, access to the OpenGL and SDL APIs, and the ability
9-
to run arbitrary JavaScript code, all based on web APIs using JS glue code. With
10-
the `wasm32-unknown-emscripten` target, Rust code can interoperate with
11-
Emscripten's ecosystem, C/C++ and JS code, and web APIs.
7+
a C/C++ toolchain designed to make it as easy as possible to port C/C++ code
8+
written for Linux to run on the web. It thus provides POSIX-compatible (musl) `libc`
9+
and `libstd` implementations and many Linux APIs, access to the OpenGL and SDL APIs,
10+
and the ability to run arbitrary JavaScript code, all based on web APIs using JS
11+
glue code. With the `wasm32-unknown-emscripten` target, Rust code can interoperate
12+
with Emscripten's ecosystem, C/C++ and JS code, and web APIs.
1213

1314
One existing user of this target is the
1415
[`pyodide` project](https://pyodide.org/) which provides a Python runtime in

0 commit comments

Comments
 (0)