commit b618a0b866edb546b33e6fdb540faeed06f0e8bd (tree)
parent 9e65a144fa85eeadfacfdfc9a543116cdb95fdb5
Author: Shritesh Bhattarai <shritesh@shritesh.com>
Date: Wed, 22 May 2019 08:12:15 -0700
doc: wasm: embedded->host
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -8969,7 +8969,7 @@ all your base are belong to us</code></pre>
<p>Zig supports building for WebAssembly out of the box. There is also a specialized {#syntax#}std.heap.wasm_allocator{#endsyntax#}
memory allocator for WebAssembly environments.</p>
{#header_open|Freestanding#}
- <p>For embedded environments like the web browser and nodejs, build as a library using the freestanding OS target.
+ <p>For host environments like the web browser and nodejs, build as a library using the freestanding OS target.
Here's an example of running Zig code compiled to WebAssembly with nodejs.</p>
{#code_begin|lib|math#}
{#target_wasm#}