Skip to content

Commit ac9f43b

Browse files
Update component-model/src/language-support/c.md
Co-authored-by: Victor Adossi <123968127+vados-cosmonic@users.noreply.github.com>
1 parent 1869fcf commit ac9f43b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • component-model/src/language-support

component-model/src/language-support/c.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,12 @@ You can verify that `adder.wasm` is a valid WebAssembly P1 component (i.e. a Web
196196
> to that directory, you can run:
197197
>
198198
> ```console
199-
> /opt/wasi-sdk/bin/clang component.c adder.c adder_component_type.o \
200-
> -o adder.wasm -mexec-model=reactor
199+
> /opt/wasi-sdk/bin/clang \
200+
> -o adder.wasm \
201+
> -mexec-model=reactor \
202+
> component.c \
203+
> adder.c \
204+
> adder_component_type.o
201205
> ```
202206
>
203207
> Using the Dockerfile avoids the need to install the WASI SDK on your system.

0 commit comments

Comments
 (0)