File tree Expand file tree Collapse file tree
examples/tutorial/adder/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ mod bindings;
77use bindings:: exports:: docs:: adder:: add:: Guest ;
88// <- items bundled with `export` keyword
99// <- package namespace
10- // <- package field
10+ // <- package
1111// <- interface name
1212
1313struct Component ;
Original file line number Diff line number Diff 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
9090You can use ` wasm-tools ` to output the WIT package of the component:
9191
You can’t perform that action at this time.
0 commit comments