Skip to content

Commit 14098df

Browse files
committed
update note wording
1 parent ec05fac commit 14098df

File tree

2 files changed

+4
-4
lines changed
  • component-model

2 files changed

+4
-4
lines changed

component-model/examples/tutorial/adder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod bindings;
77
use bindings::exports::docs::adder::add::Guest;
88
// <- items bundled with `export` keyword
99
// <- package namespace
10-
// <- package field
10+
// <- package
1111
// <- interface name
1212

1313
struct Component;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ cargo component build --release
8080
```
8181

8282
> [!WARNING]
83-
> Building with `--release` removes all debug-related information from the resulting .wasm file.
83+
> Building with `--release` removes all debug-related information from the resulting `.wasm` file.
8484
>
8585
> When prototyping or testing locally, you might want to avoid `--release` to
8686
> obtain useful backtraces in case of errors (for example, with
87-
> `wasmtime::WasmBacktraceDetails::Enable`). Note: the resulting .wasm file
88-
> will be considerably larger (likely 4MB+).
87+
> [`wasmtime::WasmBacktraceDetails::Enable`](https://docs.rs/wasmtime/latest/wasmtime/enum.WasmBacktraceDetails.html#variant.Enable)).
88+
> Note: the resulting `.wasm` file will be considerably larger (likely 4MB+).
8989
9090
You can use `wasm-tools` to output the WIT package of the component:
9191

0 commit comments

Comments
 (0)