Skip to content

Commit a440d3f

Browse files
committed
Note about .component.wasm suffix
1 parent 263139e commit a440d3f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ and simply adds two numbers.
4040
wasm-tools component new add.wasm -o add.component.wasm
4141
```
4242

43+
The suffix `.component.wasm` is just a convention.
44+
You could also name the output file `add_component.wasm` or anything else
45+
with the `.wasm` suffix.
46+
4347
### Running a Component with Wasmtime
4448

4549
You can "run" a component by calling one of its exports. Hosts and runtimes often only support

0 commit comments

Comments
 (0)