File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/tutorial/adder/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ mod bindings;
7
7
use bindings:: exports:: docs:: adder:: add:: Guest ;
8
8
// <- items bundled with `export` keyword
9
9
// <- package namespace
10
- // <- package field
10
+ // <- package
11
11
// <- interface name
12
12
13
13
struct Component ;
Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ cargo component build --release
80
80
```
81
81
82
82
> [ !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.
84
84
>
85
85
> When prototyping or testing locally, you might want to avoid ` --release ` to
86
86
> 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+).
89
89
90
90
You can use ` wasm-tools ` to output the WIT package of the component:
91
91
You can’t perform that action at this time.
0 commit comments