Skip to content

Commit fc58b33

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

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
@@ -162,8 +162,12 @@ the ["Use" section](https://github.com/webassembly/wasi-sdk?tab=readme-ov-file#u
162162
in the WASI SDK README, execute:
163163

164164
```console
165-
$WASI_SDK_PATH/bin/clang component.c adder.c adder_component_type.o \
166-
-o adder.wasm -mexec-model=reactor
165+
$WASI_SDK_PATH/bin/clang \
166+
-o adder.wasm \
167+
-mexec-model=reactor \
168+
component.c \
169+
adder.c \
170+
adder_component_type.o
167171
```
168172

169173
You can see that this command created a module with the following command:

0 commit comments

Comments
 (0)