@@ -548,9 +548,9 @@ Try this sample out with the Dockerfile :download:`here
548548
549549.. _sample-wasm :
550550
551- ***********
552- WebAssembly
553- ***********
551+ ******************
552+ WebAssembly (Wasm)
553+ ******************
554554
555555.. tabs ::
556556 :prefix: web-assembly
@@ -560,7 +560,7 @@ WebAssembly
560560
561561 Instead of dealing with bytecode,
562562 let's build a Unit-capable Rust app
563- and compile it into a WebAssembly Component .
563+ and compile it into a WebAssembly (Wasm) component .
564564
565565 Make sure you have general Rust-Tooling (cargo, rustc, …) installed.
566566 We recommend using `rustup <https://rustup.rs/ >`__ to get started.
@@ -575,14 +575,14 @@ WebAssembly
575575
576576 $ rustup target add wasm32-wasi
577577
578- Next, install cargo component. This simplifies building a Wasm
579- Component from Rust Code, making it the recommended method.
578+ Next, install cargo component. This simplifies building a WebAssembly
579+ component from Rust Code, making it the recommended method.
580580
581581 .. code-block :: console
582582
583583 $ cargo install cargo-component
584584
585- Currently, the fastest way to get started with Wasm Components using WASI
585+ Currently, the fastest way to get started with WebAssembly components using WASI
586586 0.2 wasi-http API is the **hello-wasi-http ** demo application by
587587 Dan Gohman. Clone the repository and build the component running
588588 the following command:
@@ -603,7 +603,7 @@ WebAssembly
603603 Creating component /home/unit-build/hello-wasi-http/target/wasm32-wasi/debug/hello_wasi_http.wasm
604604 $
605605
606- This creates a WebAssembly Component you can deploy on Unit using the
606+ This creates a WebAssembly component you can deploy on Unit using the
607607 following Unit configuration. Make sure you point the **component ** path
608608 to the WebAssembly component you have just created. Create a
609609 **config.json ** file:
@@ -636,7 +636,7 @@ WebAssembly
636636
637637 $ cat config.json | curl -X PUT -d @- --unix-socket /path/to/control.unit.sock http://localhost/config/
638638
639- Congratulations! You have created your very first WebAssembly Component
639+ Congratulations! You have created your very first WebAssembly component
640640 on Unit! Send a GET Request to your configured listener.
641641
642642 .. code-block :: console
@@ -646,7 +646,7 @@ WebAssembly
646646 .. tab :: unit-wasm
647647
648648 .. warning ::
649- Unit 1.32.0 and later support the WebAssembly Component
649+ Unit 1.32.0 and later support the WebAssembly component
650650 Model and WASI 0.2 APIs.
651651 We recommend to use the new implementation.
652652
@@ -740,7 +740,7 @@ WebAssembly
740740 LOCAL_ADDR = 127.0.0.1
741741 LOCAL_PORT = 8080
742742 SERVER_NAME = localhost
743-
743+
744744 [Request Headers]
745745 Host = localhost:8080
746746 User-Agent = curl/8.2.1
0 commit comments