@@ -11,17 +11,17 @@ This target is often used when compiling for the web, accessing web APIs, or
11
11
interoperating with C and C++ code.
12
12
13
13
One existing user of this target is the
14
- [ ` pyodide ` project] ( https://github.com/pyodide/pyodide ) which provides a Python
15
- runtime in WebAssembly using Emscripten and compiles Python extension modules
16
- written in Rust to the ` wasm32-unknown-emscripten ` target.
14
+ [ ` pyodide ` project] ( https://pyodide.org/ ) which provides a Python runtime in
15
+ WebAssembly using Emscripten and compiles Python extension modules written in Rust
16
+ to the ` wasm32-unknown-emscripten ` target.
17
17
18
18
If you want to target the web but no not need interop with C/C++ or you want to
19
19
produce a bare-bones WebAssembly binary and you do not require access to the host
20
20
environment (e.g. stdio, file access, networking, etc.), consider using the
21
- [ ` wasm32-unknown-unknown ` ] ( ./wasm32-unknown-unknown ) target instead.
21
+ [ ` wasm32-unknown-unknown ` ] ( ./wasm32-unknown-unknown.md ) target instead.
22
22
23
23
If you need access to the host environment, consider using one of the WASI targets
24
- ([ ` wasm32-wasip1 ` ] ( ./wasm32-wasip1 ) or [ ` wasm32-wasip2 ` ] ( ./wasm32-wasip2 ) ).
24
+ ([ ` wasm32-wasip1 ` ] ( ./wasm32-wasip1.md ) or [ ` wasm32-wasip2 ` ] ( ./wasm32-wasip2.md ) ).
25
25
26
26
## Target maintainers
27
27
@@ -38,7 +38,7 @@ said, those interested in maintaining this target are:
38
38
39
39
This target is cross-compiled. The Emscripten compiler toolchain (emsdk) must be
40
40
installed to link Rust-compiled code with Emscripten's libc and other C/C++
41
- code. Please refer to https://emscripten.org/docs/getting_started/downloads.html
41
+ code. Please refer to < https://emscripten.org/docs/getting_started/downloads.html >
42
42
on how to get started with the emsdk.
43
43
44
44
## Building the target
@@ -88,8 +88,8 @@ $ cargo +nightly -Zbuild-std build
88
88
## Testing
89
89
90
90
This target is not extensively tested in CI for the rust-lang/rust repository.
91
- It's recommended to test the ` wasm32-wasip1 ` target instead for WebAssembly
92
- compatibility.
91
+ It's recommended to test the [ ` wasm32-wasip1 ` ] ( ./wasm32-wasip1.md ) target instead
92
+ for WebAssembly compatibility.
93
93
94
94
## Conditionally compiling code
95
95
0 commit comments