File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/doc/rustc/src/platform-support Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 44
55The ` wasm32-unknown-emscripten ` target is a WebAssembly compilation target which
66uses 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
1314One existing user of this target is the
1415[ ` pyodide ` project] ( https://pyodide.org/ ) which provides a Python runtime in
You can’t perform that action at this time.
0 commit comments